Skip to content

Commit

Permalink
Change initial back-off interval for sync-flow to be 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Dec 23, 2024
1 parent 863e237 commit 2b89fb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flow/workflows/sync_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ func SyncFlowWorkflow(
StartToCloseTimeout: 7 * 24 * time.Hour,
HeartbeatTimeout: time.Minute,
WaitForCancellation: true,
RetryPolicy: &temporal.RetryPolicy{
InitialInterval: 30 * time.Second,
},
})
for !stop && ctx.Err() == nil {
var syncDone bool
Expand Down

0 comments on commit 2b89fb1

Please sign in to comment.