Skip to content

Commit 0bd0aaf

Browse files
committed
cre-1601: better comments
1 parent 600d035 commit 0bd0aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/workflows/ring/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (p *Plugin) calculateNextState(priorState *pb.RoutingState, wantShards uint
205205
return priorState, nil
206206
}
207207

208-
// Otherwise, initiate transition
208+
// Shard count changed; start transition with safety period for workflow redistribution
209209
return &pb.RoutingState{
210210
Id: priorState.Id + 1,
211211
State: &pb.RoutingState_Transition{

0 commit comments

Comments
 (0)