Optimized p2p connections a bit.

This commit is contained in:
Revertron
2021-04-24 19:02:24 +02:00
parent 9b6a6f1718
commit c0e49bbab5
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -43,5 +43,5 @@ pub const LOG_REFRESH_DELAY_SEC: u64 = 60;
pub const POLL_TIMEOUT: Option<Duration> = Some(Duration::from_millis(250));
pub const MAX_PACKET_SIZE: usize = 1 * 1024 * 1024; // 1 Mb
pub const MAX_READ_BLOCK_TIME: u128 = 500;
pub const MAX_READ_BLOCK_TIME: u128 = 200;
pub const MAX_NODES: usize = 15;