update the interval of clair updater to 12 hours, and update the interval for scan all to 2 hours

This commit is contained in:
Tan Jiang 2017-08-21 13:43:49 +08:00
parent 8a1b10ad7e
commit c1bbcb5bab
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ clair:
# Deadline before an API request will respond with a 503
timeout: 300s
updater:
interval: 1h
interval: 12h
notifier:
attempts: 3

View File

@ -67,7 +67,7 @@ func ScanAllMarker() *TimeMarker {
}
} else {
scanAllMarker = &TimeMarker{
interval: 30 * time.Minute,
interval: 2 * time.Hour,
}
}
})