From e172cefd88ac4ad9cc58e9bef98f9f27248cbabd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Thu, 22 Feb 2024 13:40:10 +0000 Subject: [PATCH] syncCtx: 2 week StartToCloseTimeout --- flow/workflows/cdc_flow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/workflows/cdc_flow.go b/flow/workflows/cdc_flow.go index 2206bc71f6..38daea5df9 100644 --- a/flow/workflows/cdc_flow.go +++ b/flow/workflows/cdc_flow.go @@ -366,7 +366,7 @@ func CDCFlowWorkflowWithConfig( sessionInfo := workflow.GetSessionInfo(syncSessionCtx) syncCtx := workflow.WithActivityOptions(syncSessionCtx, workflow.ActivityOptions{ - StartToCloseTimeout: 72 * time.Hour, + StartToCloseTimeout: 14 * 24 * time.Hour, HeartbeatTimeout: time.Minute, WaitForCancellation: true, })