Skip to content

Commit

Permalink
config: Update description for IncomingConnectionsLimit (#5789)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohill authored Oct 19, 2023
1 parent 26facb5 commit ad162dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/localTemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down

0 comments on commit ad162dc

Please sign in to comment.