From ad162dc01bf5ec4f561e071f5188c495ea846e74 Mon Sep 17 00:00:00 2001 From: ohill <145173879+ohill@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:42:23 -0400 Subject: [PATCH] config: Update description for IncomingConnectionsLimit (#5789) --- config/localTemplate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/localTemplate.go b/config/localTemplate.go index 8a5dc0a5d4..74c0b2e08a 100644 --- a/config/localTemplate.go +++ b/config/localTemplate.go @@ -128,8 +128,8 @@ type Local struct { // If not specified, the node will use the ColdDataDir. LogArchiveDir string `version[31]:""` - // IncomingConnectionsLimit specifies the max number of long-lived incoming - // connections. 0 means no connections allowed. Must be non-negative. + // IncomingConnectionsLimit specifies the max number of incoming connections + // for the port configured in NetAddress. 0 means no connections allowed. Must be non-negative. // Estimating 1.5MB per incoming connection, 1.5MB*2400 = 3.6GB IncomingConnectionsLimit int `version[0]:"-1" version[1]:"10000" version[17]:"800" version[27]:"2400"`