From 864ad70fe2353f757e48ccd3a947a040b0b95f02 Mon Sep 17 00:00:00 2001 From: Cameron Ayer Date: Mon, 15 Mar 2021 13:07:18 -0400 Subject: [PATCH] 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 --- satellite/overlay/straynodes/chore.go | 2 +- scripts/testdata/satellite-config.yaml.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/satellite/overlay/straynodes/chore.go b/satellite/overlay/straynodes/chore.go index fe2798247..965e4ed0e 100644 --- a/satellite/overlay/straynodes/chore.go +++ b/satellite/overlay/straynodes/chore.go @@ -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"` diff --git a/scripts/testdata/satellite-config.yaml.lock b/scripts/testdata/satellite-config.yaml.lock index 73c8da7d3..87f37d83a 100755 --- a/scripts/testdata/satellite-config.yaml.lock +++ b/scripts/testdata/satellite-config.yaml.lock @@ -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