From 08e034b1cfd8b60758635881fc5c82e31a2e7705 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 20 Jan 2024 11:48:10 -0500 Subject: [PATCH] fix: start cron in new coroutine --- cron/cron.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron/cron.go b/cron/cron.go index 50a0fab..16916e3 100644 --- a/cron/cron.go +++ b/cron/cron.go @@ -44,6 +44,8 @@ func (c *CronServiceImpl) Start() error { } } + go c.scheduler.Start() + return nil }