@cryptotaxi247 / kubo / commits / 3652e0c5f

core: Use correct default for connmgr lowWater

Most people weren't affected by this as those values are set in config at init, but for others it would be rather hard to debug.

Łukasz Magiera committed May 20, 2019 at 17:41 UTC 3652e0c5f382f11126c753367879b998ede20346
1 file changed +1 -1
core/node/groups.go
+1 -1
@@ -41,7 +41,7 @@ func LibP2P(bcfg *BuildCfg, cfg *config.Config) fx.Option {
41 // parse ConnMgr config
42
43 grace := config.DefaultConnMgrGracePeriod
44 - low := config.DefaultConnMgrHighWater
44 + low := config.DefaultConnMgrLowWater
45 high := config.DefaultConnMgrHighWater
46
47 connmgr := fx.Options()