Skip to content

Commit

Permalink
Increase MAX_NO_CHANNEL_PEERS to 2500
Browse files Browse the repository at this point in the history
  • Loading branch information
domZippilli authored and wvanlint committed Oct 24, 2024
1 parent 31f7714 commit e68afd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,7 @@ const MAX_UNFUNDED_CHANNEL_PEERS: usize = 50;

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

/// The maximum expiration from the current time where an [`Offer`] or [`Refund`] is considered
/// short-lived, while anything with a greater expiration is considered long-lived.
Expand Down

0 comments on commit e68afd2

Please sign in to comment.