diff --git a/service/worker/scheduler/workflow.go b/service/worker/scheduler/workflow.go index 9d890fdeb5e..32d63386fe8 100644 --- a/service/worker/scheduler/workflow.go +++ b/service/worker/scheduler/workflow.go @@ -159,7 +159,7 @@ var ( // the workflow so that we can change them without breaking existing executions or having // to use versioning. currentTweakablePolicies = tweakablePolicies{ - DefaultCatchupWindow: 60 * time.Second, + DefaultCatchupWindow: 365 * 24 * time.Hour, MinCatchupWindow: 10 * time.Second, CanceledTerminatedCountAsFailures: false, AlwaysAppendTimestamp: true, diff --git a/tests/schedule_test.go b/tests/schedule_test.go index e0f51c79562..fdeaded15e6 100644 --- a/tests/schedule_test.go +++ b/tests/schedule_test.go @@ -251,7 +251,7 @@ func (s *scheduleIntegrationSuite) TestBasics() { checkSpec(describeResp.Schedule.Spec) s.Equal(enumspb.SCHEDULE_OVERLAP_POLICY_SKIP, describeResp.Schedule.Policies.OverlapPolicy) // set to default value - s.EqualValues(60, describeResp.Schedule.Policies.CatchupWindow.Seconds()) // set to default value + s.EqualValues(365*24*3600, describeResp.Schedule.Policies.CatchupWindow.Seconds()) // set to default value s.Equal(schSAValue.Data, describeResp.SearchAttributes.IndexedFields[csa].Data) s.Equal(schMemo.Data, describeResp.Memo.Fields["schedmemo1"].Data)