Skip to content

Commit

Permalink
skip wait for normalize if already handled stop
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Feb 23, 2024
1 parent 068a18a commit d46ef65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/workflows/sync_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func SyncFlowWorkflow(
}

restart := currentSyncFlowNum >= maxSyncsPerSyncFlow || syncErr
if mustWait {
if !stop && mustWait {
waitSelector.Select(ctx)
if restart {
// must flush selector for signals received while waiting
Expand Down

0 comments on commit d46ef65

Please sign in to comment.