Skip to content

Commit 04db1a1

Browse files
committed
lnd: increase DefaultNumRestrictedSlots to 100
1 parent a232c57 commit 04db1a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ const (
240240

241241
// DefaultNumRestrictedSlots is the default number of restricted slots
242242
// we'll allocate in the server.
243-
DefaultNumRestrictedSlots = 30
243+
DefaultNumRestrictedSlots = 100
244244

245245
// BitcoinChainName is a string that represents the Bitcoin blockchain.
246246
BitcoinChainName = "bitcoin"

sample-lnd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@
567567
; http-header-timeout=5s
568568

569569
; The number of restricted slots the server will allocate for peers.
570-
; num-restricted-slots=30
570+
; num-restricted-slots=100
571571

572572
; If true, a peer will *not* be disconnected if a pong is not received in time
573573
; or is mismatched. Defaults to false, meaning peers *will* be disconnected on

0 commit comments

Comments
 (0)