Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
refactor: use WaitGroup.Go to simplify code (#5162)
asttool54e3c1343570
diff --git a/plugin/cron/cron.go b/plugin/cron/cron.goindex 03411ddb0..f9318ced5 100644--- a/plugin/cron/cron.go+++ b/plugin/cron/cron.go@@ -306,11 +306,9 @@ func (c *Cron) runScheduler() {// startJob runs the given job in a new goroutine.func (c *Cron) startJob(j Job) {- c.jobWaiter.Add(1)- go func() {- defer c.jobWaiter.Done()+ c.jobWaiter.Go(func() {j.Run()- }()+ })}// now returns current time in c location.