Skip to content
Snippets Groups Projects
Commit fe36fe85 authored by Arkadiy Paronyan's avatar Arkadiy Paronyan Committed by GitHub
Browse files

Speedup block import (#10211)

parent bc938cfb
No related merge requests found
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment