lnd: increase DefaultNumRestrictedSlots to 100

This commit is contained in:
yyforyongyu committed 2025-06-03 22:43:15 +08:00
1 parent a232c57c8c
commit 04db1a1c3f
2 files changed
+2 -2

No files matched your search

+1 -1
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"
+1 -1
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