Skip to content

Commit

Permalink
reduced heartbeat timeouts as well
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Oct 25, 2023
1 parent eab9622 commit c7b1f06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flow/workflows/sync_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ func (s *SyncFlowExecution) executeSyncFlow(

startFlowCtx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
StartToCloseTimeout: 72 * time.Hour,
// TODO: activity needs to call heartbeat.
// see https://github.com/PeerDB-io/nexus/issues/216
HeartbeatTimeout: 24 * time.Hour,
HeartbeatTimeout: 5 * time.Minute,
})

// execute StartFlow on the peers to start the flow
Expand Down

0 comments on commit c7b1f06

Please sign in to comment.