Sleep for one second in recordNewDaily task
parent
0523737f0d
commit
136aac6614
|
@ -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…
Reference in New Issue