mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
Temporarily increase notifications buffer size (#5644)
* Temporarily increase notifications buffer size * Add a 511.0 bucket
This commit is contained in:
@@ -44,7 +44,7 @@ use unsigned_varint::codec::UviBytes;
|
||||
/// Maximum allowed size of the two handshake messages, in bytes.
|
||||
const MAX_HANDSHAKE_SIZE: usize = 1024;
|
||||
/// Maximum number of buffered messages before we refuse to accept more.
|
||||
const MAX_PENDING_MESSAGES: usize = 256;
|
||||
const MAX_PENDING_MESSAGES: usize = 512;
|
||||
|
||||
/// Upgrade that accepts a substream, sends back a status message, then becomes a unidirectional
|
||||
/// stream of messages.
|
||||
|
||||
Reference in New Issue
Block a user