Skip to content

Commit e1922e1

Browse files
authored
do not start wf scheduler right at registration (#165)
1 parent c54b9e7 commit e1922e1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dbos/workflow.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ func registerScheduledWorkflow(ctx DBOSContext, workflowName string, fn Workflow
321321
panic("Cannot register scheduled workflow after DBOS has launched")
322322
}
323323

324-
c.getWorkflowScheduler().Start()
325324
var entryID cron.EntryID
326325
entryID, err := c.getWorkflowScheduler().AddFunc(cronSchedule, func() {
327326
// Execute the workflow on the cron schedule once DBOS is launched

0 commit comments

Comments
 (0)