Skip to content

Commit

Permalink
feat: adjust ConnMgr target to 32-96 (#9483)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel authored Dec 8, 2022
1 parent 72bad5c commit 1f63640
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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`

Expand Down

0 comments on commit 1f63640

Please sign in to comment.