feat: lower connection pool

This commit is contained in:
Marcin Rataj 2022-12-07 01:01:17 +01:00
parent a10d012b81
commit e0e4741fe0
2 changed files with 4 additions and 4 deletions

View File

@ -96,11 +96,11 @@ func InitWithIdentity(identity Identity) (*Config, error) {
// DefaultConnMgrHighWater is the default value for the connection managers
// 'high water' mark
const DefaultConnMgrHighWater = 900
const DefaultConnMgrHighWater = 150
// DefaultConnMgrLowWater is the default value for the connection managers 'low
// water' mark
const DefaultConnMgrLowWater = 600
const DefaultConnMgrLowWater = 50
// DefaultConnMgrGracePeriod is the default value for the connection managers
// grace period

View File

@ -1778,7 +1778,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: `600`
Default: `50`
Type: `optionalInteger`
@ -1788,7 +1788,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: `900`
Default: `150`
Type: `optionalInteger`