Skip to content

Commit

Permalink
updater: Extend default updater time to 6 hours
Browse files Browse the repository at this point in the history
Given the expense of updating and the lack of value to such a high
frequency this change extends the default update period from 30 mins to
6 hours.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed May 23, 2023
1 parent b188cba commit 95970e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
// during the indexing process. Its name is a historical accident.
DefaultScanLockRetry = 1
// DefaultMatcherPeriod is the default interval for running updaters.
DefaultMatcherPeriod = 30 * time.Minute
DefaultMatcherPeriod = 6 * time.Hour
// DefaultUpdateRetention is the number of updates per vulnerability
// database to retain.
DefaultUpdateRetention = 10
Expand Down

0 comments on commit 95970e2

Please sign in to comment.