mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
Block packet size limit
This commit is contained in:
@@ -54,7 +54,8 @@ mod blocks;
|
||||
mod extra_requests;
|
||||
|
||||
/// Maximum blocks to request in a single packet.
|
||||
const MAX_BLOCKS_TO_REQUEST: usize = 128;
|
||||
/// TODO: set to 128 once yamux issue is resolved.
|
||||
const MAX_BLOCKS_TO_REQUEST: usize = 64;
|
||||
|
||||
/// Maximum blocks to store in the import queue.
|
||||
const MAX_IMPORTING_BLOCKS: usize = 2048;
|
||||
|
||||
Reference in New Issue
Block a user