Skip to content

Commit 1f63640

Browse files
authored
feat: adjust ConnMgr target to 32-96 (#9483)
#9483 (comment)
1 parent 72bad5c commit 1f63640

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ func InitWithIdentity(identity Identity) (*Config, error) {
9696

9797
// DefaultConnMgrHighWater is the default value for the connection managers
9898
// 'high water' mark
99-
const DefaultConnMgrHighWater = 150
99+
const DefaultConnMgrHighWater = 96
100100

101101
// DefaultConnMgrLowWater is the default value for the connection managers 'low
102102
// water' mark
103-
const DefaultConnMgrLowWater = 50
103+
const DefaultConnMgrLowWater = 32
104104

105105
// DefaultConnMgrGracePeriod is the default value for the connection managers
106106
// grace period

docs/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ The connection manager considers a connection idle if:
17741774
LowWater is the number of connections that the basic connection manager will
17751775
trim down to.
17761776

1777-
Default: `50`
1777+
Default: `32`
17781778

17791779
Type: `optionalInteger`
17801780

@@ -1784,7 +1784,7 @@ HighWater is the number of connections that, when exceeded, will trigger a
17841784
connection GC operation. Note: protected/recently formed connections don't count
17851785
towards this limit.
17861786

1787-
Default: `150`
1787+
Default: `96`
17881788

17891789
Type: `optionalInteger`
17901790

0 commit comments

Comments
 (0)