satellite/overlay/straynodes: prevent disqualification in tests
Currently the test threshold for unneeded node checkins are 30s. The disqualification threshold was at 30s, which means, it was possible for all the nodes to get disqualified. Hopefully fixes #4267 Change-Id: I6b0a10c09b7fd90a9729794885c9e7a593781bad
This commit is contained in:
parent
583cdc6e0e
commit
d5628740fd
@ -20,7 +20,7 @@ var mon = monkit.Package()
|
||||
type Config struct {
|
||||
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" testDefault:"1m"`
|
||||
MaxDurationWithoutContact time.Duration `help:"length of time a node can go without contacting satellite before being disqualified" releaseDefault:"720h" devDefault:"7200h" testDefault:"30s"`
|
||||
MaxDurationWithoutContact time.Duration `help:"length of time a node can go without contacting satellite before being disqualified" releaseDefault:"720h" devDefault:"7200h" testDefault:"5m"`
|
||||
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"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user