diff --git a/config/init.go b/config/init.go index 9800f0c7abf..4e99c5a549d 100644 --- a/config/init.go +++ b/config/init.go @@ -96,11 +96,11 @@ func InitWithIdentity(identity Identity) (*Config, error) { // DefaultConnMgrHighWater is the default value for the connection managers // 'high water' mark -const DefaultConnMgrHighWater = 150 +const DefaultConnMgrHighWater = 96 // DefaultConnMgrLowWater is the default value for the connection managers 'low // water' mark -const DefaultConnMgrLowWater = 50 +const DefaultConnMgrLowWater = 32 // DefaultConnMgrGracePeriod is the default value for the connection managers // grace period diff --git a/docs/config.md b/docs/config.md index 319f02d1d17..50ee26b1566 100644 --- a/docs/config.md +++ b/docs/config.md @@ -1774,7 +1774,7 @@ The connection manager considers a connection idle if: LowWater is the number of connections that the basic connection manager will trim down to. -Default: `50` +Default: `32` Type: `optionalInteger` @@ -1784,7 +1784,7 @@ HighWater is the number of connections that, when exceeded, will trigger a connection GC operation. Note: protected/recently formed connections don't count towards this limit. -Default: `150` +Default: `96` Type: `optionalInteger`