Bugfixes found Shuffle blog part 2

This commit is contained in:
frikky
2020-05-26 18:10:23 +02:00
parent 5815dbe5ed
commit 8ab60dd30a
7 changed files with 21 additions and 10 deletions
+1 -1
View File
@@ -5748,10 +5748,10 @@ func runInit(ctx context.Context) {
}
}
//log.Printf("Schedule time: every %d seconds", schedule.Seconds)
jobret, err := newscheduler.Every(schedule.Seconds).Seconds().NotImmediately().Run(job)
if err != nil {
log.Printf("Failed to schedule workflow: %s", err)
// FIXME: what now? lol:w
}
scheduledJobs[schedule.Id] = jobret