Disable chatty skipped update logs
This commit is contained in:
parent
b2f2cd0cef
commit
5607116b30
13
core/cron.go
13
core/cron.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user