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
}
if nextUpdate.After(now) {
log.Printf(
"%s: last update %s, next update %s",
schedule.Source,
schedule.LastUpdated.Format("2006-01-02 15:04:05"),
nextUpdate.Format("2006-01-02 15:04:05"),
)
// TODO log this at a debug log level
// log.Printf(
// "%s: last update %s, next update %s",
// schedule.Source,
// schedule.LastUpdated.Format("2006-01-02 15:04:05"),
// nextUpdate.Format("2006-01-02 15:04:05"),
// )
continue
}
log.Printf("%s: fetching", schedule.Source)