Skip to content

Commit cd88f1a

Browse files
committed
f note additional constant use
1 parent b27ef30 commit cd88f1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ enum InitSyncTracker{
236236

237237
/// When the outbound buffer has this many messages, we'll stop reading bytes from the peer until
238238
/// we manage to send messages until we reach this limit.
239+
/// We also use this as the target number of outbound gossip messages to keep in the write buffer,
240+
/// refilled as we send bytes.
239241
const OUTBOUND_BUFFER_LIMIT_READ_PAUSE: usize = 10;
240242
/// When the outbound buffer has this many messages, we'll simply skip relaying gossip messages to
241243
/// the peer.

0 commit comments

Comments
 (0)