Skip to content

Commit

Permalink
chore: Update outdated docs and comment with default update period.
Browse files Browse the repository at this point in the history
This was missed when we changed the default updating period.

Signed-off-by: crozzy <[email protected]>
  • Loading branch information
crozzy committed Jul 6, 2023
1 parent 83ee24a commit c28648e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ A time.ParseDuration parseable string.

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

Defaults to 30 minutes.
Defaults to 6 hours.

#### `$.matcher.disable_updaters`
A boolean value.
Expand Down
2 changes: 1 addition & 1 deletion config/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Matcher struct {
IndexerAddr string `yaml:"indexer_addr" json:"indexer_addr"`
// Period controls how often updaters are run.
//
// The default is 30 minutes.
// The default is 6 hours.
Period Duration `yaml:"period,omitempty" json:"period,omitempty"`
// UpdateRetention controls the number of updates to retain between
// garbage collection periods.
Expand Down

0 comments on commit c28648e

Please sign in to comment.