Skip to content

Commit 79d7e5c

Browse files
authored
maint: make CacheCapacity deprecation text more actionable (#1679)
## Which problem is this PR solving? Users may mistakenly set PeerQueueSize and IncomingQueueSize to be the same as CacheCapacity. That's not what we want. ## Short description of the changes - Clarify PeerQueueSize and IncomingQueueSize should be 3x CacheCapacity in warning message
1 parent 22faaf9 commit 79d7e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/metadata/configMeta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ groups:
12561256
type: int
12571257
valuetype: nondefault
12581258
lastversion: v2.9.7
1259-
deprecationtext: CacheCapacity is deprecated since version v2.9.7. Set PeerQueueSize and IncomingQueueSize instead.
1259+
deprecationtext: CacheCapacity is deprecated since version v2.9.7. Set PeerQueueSize and IncomingQueueSize to (3 x CacheCapacity) instead.
12601260
replacements:
12611261
- field: PeerQueueSize
12621262
formula: "3 * value"

0 commit comments

Comments
 (0)