satellite/overlay/straynodes: set --stray-nodes.enable-dq release default to true
Since we will enable this on all satellites, just set default to true Change-Id: Ibc86a0afd0b0f57e86bd067abb9cdf06c295a467
This commit is contained in:
parent
2607b16070
commit
864ad70fe2
@ -18,7 +18,7 @@ var mon = monkit.Package()
|
|||||||
|
|
||||||
// Config contains configurable values for stray nodes chore.
|
// Config contains configurable values for stray nodes chore.
|
||||||
type Config struct {
|
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"`
|
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"`
|
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"`
|
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"`
|
||||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -647,7 +647,7 @@ server.private-address: 127.0.0.1:7778
|
|||||||
# server.use-peer-ca-whitelist: true
|
# server.use-peer-ca-whitelist: true
|
||||||
|
|
||||||
# whether nodes will be disqualified if they have not been contacted in some time
|
# 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
|
# how often to check for and DQ stray nodes
|
||||||
# stray-nodes.interval: 168h0m0s
|
# stray-nodes.interval: 168h0m0s
|
||||||
|
Loading…
Reference in New Issue
Block a user