Skip to content

Commit 78c37f4

Browse files
domZippillisaidalaoui-sq
authored andcommitted
Increase MAX_NO_CHANNEL_PEERS to 2500
1 parent bc34ee5 commit 78c37f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3159,7 +3159,7 @@ const MAX_PEER_STORAGE_SIZE: usize = 1024;
31593159

31603160
/// The maximum number of peers which we do not have a (funded) channel with. Once we reach this
31613161
/// many peers we reject new (inbound) connections.
3162-
const MAX_NO_CHANNEL_PEERS: usize = 250;
3162+
const MAX_NO_CHANNEL_PEERS: usize = 2500;
31633163

31643164
/// Used by [`ChannelManager::list_recent_payments`] to express the status of recent payments.
31653165
/// These include payments that have yet to find a successful path, or have unresolved HTLCs.

0 commit comments

Comments
 (0)