Skip to content

Commit c47d4c5

Browse files
committed
workflow: increase start_to_close timeout
1 parent 4bd470a commit c47d4c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/collection/workflow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const (
1919

2020
// Maximum duration of the processing workflow. Cadence does not support
2121
// workflows with infinite duration for now, but high values are fine.
22-
// We consider a week more than enough.
23-
ProcessingWorkflowStartToCloseTimeout = time.Hour * 24 * 7
22+
// Ten years is the timeout we also use in activities (policies.go).
23+
ProcessingWorkflowStartToCloseTimeout = time.Hour * 24 * 365 * 10
2424
)
2525

2626
type ProcessingWorkflowRequest struct {

0 commit comments

Comments
 (0)