Skip to content

Commit c28648e

Browse files
committed
chore: Update outdated docs and comment with default update period.
This was missed when we changed the default updating period. Signed-off-by: crozzy <[email protected]>
1 parent 83ee24a commit c28648e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/reference/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ A time.ParseDuration parseable string.
256256

257257
Determines how often updates for new security advisories will take place.
258258

259-
Defaults to 30 minutes.
259+
Defaults to 6 hours.
260260

261261
#### `$.matcher.disable_updaters`
262262
A boolean value.

config/matcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Matcher struct {
2121
IndexerAddr string `yaml:"indexer_addr" json:"indexer_addr"`
2222
// Period controls how often updaters are run.
2323
//
24-
// The default is 30 minutes.
24+
// The default is 6 hours.
2525
Period Duration `yaml:"period,omitempty" json:"period,omitempty"`
2626
// UpdateRetention controls the number of updates to retain between
2727
// garbage collection periods.

0 commit comments

Comments
 (0)