Migrated rest of the obvious logs/prints to slog.

This commit is contained in:
Jiri Luzny
2023-12-09 21:57:21 +01:00
parent b3a38013c6
commit ccb0f19d41
5 changed files with 9 additions and 12 deletions

View File

@@ -168,7 +168,7 @@ func runSchedules(a *App) {
sched = popSchedule(a)
}
slog.Info("Next schedule", "new run time", sched.nextRunTime)
slog.Info("Next schedule", "next run time", sched.nextRunTime)
time.Sleep(time.Until(sched.nextRunTime))
sched.maybeRunCallback(a)
requeueSchedule(a, sched)