We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b27ef30 commit cd88f1aCopy full SHA for cd88f1a
lightning/src/ln/peer_handler.rs
@@ -236,6 +236,8 @@ enum InitSyncTracker{
236
237
/// When the outbound buffer has this many messages, we'll stop reading bytes from the peer until
238
/// 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.
241
const OUTBOUND_BUFFER_LIMIT_READ_PAUSE: usize = 10;
242
/// When the outbound buffer has this many messages, we'll simply skip relaying gossip messages to
243
/// the peer.
0 commit comments