Tweaked block download timeouts (#6595)
This commit is contained in:
parent
083b69ffb1
commit
965727c5d3
@ -29,7 +29,7 @@ use sync_io::SyncIo;
|
|||||||
use blocks::BlockCollection;
|
use blocks::BlockCollection;
|
||||||
|
|
||||||
const MAX_HEADERS_TO_REQUEST: usize = 128;
|
const MAX_HEADERS_TO_REQUEST: usize = 128;
|
||||||
const MAX_BODIES_TO_REQUEST: usize = 64;
|
const MAX_BODIES_TO_REQUEST: usize = 32;
|
||||||
const MAX_RECEPITS_TO_REQUEST: usize = 128;
|
const MAX_RECEPITS_TO_REQUEST: usize = 128;
|
||||||
const SUBCHAIN_SIZE: u64 = 256;
|
const SUBCHAIN_SIZE: u64 = 256;
|
||||||
const MAX_ROUND_PARENTS: usize = 16;
|
const MAX_ROUND_PARENTS: usize = 16;
|
||||||
|
@ -163,7 +163,7 @@ const MAX_SNAPSHOT_CHUNKS_DOWNLOAD_AHEAD: usize = 3;
|
|||||||
const WAIT_PEERS_TIMEOUT_SEC: u64 = 5;
|
const WAIT_PEERS_TIMEOUT_SEC: u64 = 5;
|
||||||
const STATUS_TIMEOUT_SEC: u64 = 5;
|
const STATUS_TIMEOUT_SEC: u64 = 5;
|
||||||
const HEADERS_TIMEOUT_SEC: u64 = 15;
|
const HEADERS_TIMEOUT_SEC: u64 = 15;
|
||||||
const BODIES_TIMEOUT_SEC: u64 = 10;
|
const BODIES_TIMEOUT_SEC: u64 = 20;
|
||||||
const RECEIPTS_TIMEOUT_SEC: u64 = 10;
|
const RECEIPTS_TIMEOUT_SEC: u64 = 10;
|
||||||
const FORK_HEADER_TIMEOUT_SEC: u64 = 3;
|
const FORK_HEADER_TIMEOUT_SEC: u64 = 3;
|
||||||
const SNAPSHOT_MANIFEST_TIMEOUT_SEC: u64 = 5;
|
const SNAPSHOT_MANIFEST_TIMEOUT_SEC: u64 = 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user