Sleep for one second in recordNewDaily task

pull/4/head
maru 8 months ago
parent 0523737f0d
commit 136aac6614
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D

@ -52,6 +52,8 @@ func Init() error {
log.Printf("Daily Run Seed: %s", Seed())
scheduler.AddFunc("@daily", func() {
time.Sleep(time.Second)
err := recordNewDaily()
if err != nil {
log.Printf("error while recording new daily: %s", err)

Loading…
Cancel
Save