diff --git a/flow/workflows/heartbeat_flow.go b/flow/workflows/scheduled_flows.go similarity index 95% rename from flow/workflows/heartbeat_flow.go rename to flow/workflows/scheduled_flows.go index b4b2eab815..c29e43d30c 100644 --- a/flow/workflows/heartbeat_flow.go +++ b/flow/workflows/scheduled_flows.go @@ -53,10 +53,7 @@ func GlobalScheduleManagerWorkflow(ctx workflow.Context) error { slotSizeCtx := withCronOptions(ctx, fmt.Sprintf("record-slot-size-%s", info.OriginalRunID), "*/5 * * * *") - workflow.ExecuteChildWorkflow( - slotSizeCtx, - RecordSlotSizeWorkflow, - ) + workflow.ExecuteChildWorkflow(slotSizeCtx, RecordSlotSizeWorkflow) ctx.Done().Receive(ctx, nil) return ctx.Err()