Disable chatty skipped update logs

This commit is contained in:
Tim Van Baak 2025-02-21 07:49:40 -08:00
parent b2f2cd0cef
commit 5607116b30

View File

@ -192,12 +192,13 @@ func fetchReadySources(db DB) {
continue continue
} }
if nextUpdate.After(now) { if nextUpdate.After(now) {
log.Printf( // TODO log this at a debug log level
"%s: last update %s, next update %s", // log.Printf(
schedule.Source, // "%s: last update %s, next update %s",
schedule.LastUpdated.Format("2006-01-02 15:04:05"), // schedule.Source,
nextUpdate.Format("2006-01-02 15:04:05"), // schedule.LastUpdated.Format("2006-01-02 15:04:05"),
) // nextUpdate.Format("2006-01-02 15:04:05"),
// )
continue continue
} }
log.Printf("%s: fetching", schedule.Source) log.Printf("%s: fetching", schedule.Source)