Skip to content

Commit 6a67f29

Browse files
authored
fix(config): update comment of reference.conf (#6834)
1 parent 28f4e41 commit 6a67f29

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

common/src/main/resources/reference.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,13 @@ node {
196196
# Max in-flight (requested but not yet processed) blocks during sync. Range: [50, 2000].
197197
maxPendingBlockSize = 500
198198

199-
# Number of validate sign threads, default availableProcessors
200199
# Number of validate sign threads, 0 = auto (availableProcessors)
201200
validateSignThreadNum = 0
202201

203202
maxConnections = 30 # Maximum peer connections.
204203
minConnections = 8 # Minimum peer connections to maintain.
205204
minActiveConnections = 3 # Minimum active peer connections.
205+
# Legacy alias `maxActiveNodesWithSameIp` is still accepted but deprecated
206206
maxConnectionsWithSameIp = 2 # Maximum peer connections per IP.
207207
maxHttpConnectNumber = 50 # Maximum HTTP connections.
208208
minParticipationRate = 0 # Minimum SR participation rate.
@@ -233,9 +233,9 @@ node {
233233
inactiveThreshold = 600 // seconds
234234
maxFastForwardNum = 4 # Number of SRs after the block-producing SR that a fast-forward node forwards blocks to.
235235

236-
# Legacy alias `maxActiveNodesWithSameIp` is still accepted from user config
237-
# (see NodeConfig alias-fallback) but is intentionally NOT defaulted here —
238-
# shipping it in reference.conf would always mask the modern `maxConnectionsWithSameIp`.
236+
# Deprecated. Enables legacy MetricsUtil counters/histograms and registers
237+
# the monitor gRPC service (MonitorApi) on the RPC server.
238+
# This is independent of the Prometheus exporter configured under node.metrics.prometheus.
239239
metricsEnable = false
240240

241241
# P2P protocol version settings.
@@ -453,7 +453,7 @@ node {
453453
## Rate limiter config
454454
rate.limiter = {
455455
# Each HTTP servlet and gRPC method can have its own rate-limit strategy.
456-
# Three blocking strategies are available:
456+
# Three API rate-limit strategies are available:
457457
# GlobalPreemptibleAdapter – limits maximum concurrent requests globally.
458458
# paramString = "permit=N" (N = max concurrent calls)
459459
# QpsRateLimiterAdapter – limits average QPS across all callers.

0 commit comments

Comments
 (0)