From 95970e283b0fc37f56cf2f93e27a801c0b03b809 Mon Sep 17 00:00:00 2001 From: crozzy Date: Mon, 15 May 2023 09:29:12 -0700 Subject: [PATCH] updater: Extend default updater time to 6 hours 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 --- config/defaults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/defaults.go b/config/defaults.go index f83ce1d5fb..c5718b4f5a 100644 --- a/config/defaults.go +++ b/config/defaults.go @@ -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