Skip to content

Commit

Permalink
satellite/overlay/straynodes: set --stray-nodes.enable-dq release def…
Browse files Browse the repository at this point in the history
…ault to true

Since we will enable this on all satellites, just set default to true

Change-Id: Ibc86a0afd0b0f57e86bd067abb9cdf06c295a467
  • Loading branch information
cam-a authored and Cameron Ayer committed Mar 22, 2021
1 parent 2607b16 commit 864ad70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion satellite/overlay/straynodes/chore.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var mon = monkit.Package()

// Config contains configurable values for stray nodes chore.
type Config struct {
EnableDQ bool `help:"whether nodes will be disqualified if they have not been contacted in some time" releaseDefault:"false" devDefault:"true"`
EnableDQ bool `help:"whether nodes will be disqualified if they have not been contacted in some time" releaseDefault:"true" devDefault:"true"`
Interval time.Duration `help:"how often to check for and DQ stray nodes" releaseDefault:"168h" devDefault:"5m"`
MaxDurationWithoutContact time.Duration `help:"length of time a node can go without contacting satellite before being disqualified" releaseDefault:"720h" devDefault:"7200h"`
Limit int `help:"Max number of nodes to return in a single query. Chore will iterate until rows returned is less than limit" releaseDefault:"1000" devDefault:"1000"`
Expand Down
2 changes: 1 addition & 1 deletion scripts/testdata/satellite-config.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ server.private-address: 127.0.0.1:7778
# server.use-peer-ca-whitelist: true

# whether nodes will be disqualified if they have not been contacted in some time
# stray-nodes.enable-dq: false
# stray-nodes.enable-dq: true

# how often to check for and DQ stray nodes
# stray-nodes.interval: 168h0m0s
Expand Down

0 comments on commit 864ad70

Please sign in to comment.