Skip to content

Commit

Permalink
Increase queued blocks to the same value as in Substrate's sync
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Jun 29, 2023
1 parent 1a1d572 commit 65f0d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-service/src/dsn/import_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const_assert!(std::mem::size_of::<usize>() >= std::mem::size_of::<u64>());
/// How long to wait for peers before giving up
const WAIT_FOR_PEERS_TIMEOUT: Duration = Duration::from_secs(10);
/// How many blocks to queue before pausing and waiting for blocks to be imported
const QUEUED_BLOCKS_LIMIT: BlockNumber = 1_000;
const QUEUED_BLOCKS_LIMIT: BlockNumber = 2048;
/// Time to wait for blocks to import if import is too slow
const WAIT_FOR_BLOCKS_TO_IMPORT: Duration = Duration::from_secs(1);

Expand Down

0 comments on commit 65f0d10

Please sign in to comment.