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
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user