mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 01:51:09 +00:00
Speedup block import (#10211)
This commit is contained in:
@@ -43,10 +43,10 @@ use std::{
|
||||
};
|
||||
|
||||
/// Number of blocks we will add to the queue before waiting for the queue to catch up.
|
||||
const MAX_PENDING_BLOCKS: u64 = 1_024;
|
||||
const MAX_PENDING_BLOCKS: u64 = 10_000;
|
||||
|
||||
/// Number of milliseconds to wait until next poll.
|
||||
const DELAY_TIME: u64 = 2_000;
|
||||
const DELAY_TIME: u64 = 200;
|
||||
|
||||
/// Number of milliseconds that must have passed between two updates.
|
||||
const TIME_BETWEEN_UPDATES: u64 = 3_000;
|
||||
|
||||
Reference in New Issue
Block a user