From 521b37b64278d07eddf809b2341c9fa50ad21e0b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 20 Jan 2024 12:02:03 -0500 Subject: [PATCH] debug: debug scheduler --- cron/cron.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cron/cron.go b/cron/cron.go index 16916e3..3022f2a 100644 --- a/cron/cron.go +++ b/cron/cron.go @@ -44,7 +44,9 @@ func (c *CronServiceImpl) Start() error { } } - go c.scheduler.Start() + go func() { + c.scheduler.Start() + }() return nil }