lnd: increase DefaultNumRestrictedSlots to 100

This commit is contained in:
yyforyongyu
2025-05-29 21:28:48 +08:00
committed by Oliver Gugger
parent 643b1c8af7
commit 9fcde4b452
2 changed files with 2 additions and 2 deletions

View File

@@ -240,7 +240,7 @@ const (
// DefaultNumRestrictedSlots is the default number of restricted slots
// we'll allocate in the server.
DefaultNumRestrictedSlots = 30
DefaultNumRestrictedSlots = 100
// BitcoinChainName is a string that represents the Bitcoin blockchain.
BitcoinChainName = "bitcoin"

View File

@@ -567,7 +567,7 @@
; http-header-timeout=5s
; The number of restricted slots the server will allocate for peers.
; num-restricted-slots=30
; num-restricted-slots=100
; If true, a peer will *not* be disconnected if a pong is not received in time
; or is mismatched. Defaults to false, meaning peers *will* be disconnected on