Lower max handshakes to reduce network load
This commit is contained in:
parent
7e0dfb41d0
commit
b6ccbdb694
@ -46,8 +46,8 @@ type Slab<T> = ::slab::Slab<T, usize>;
|
|||||||
|
|
||||||
const _DEFAULT_PORT: u16 = 30304;
|
const _DEFAULT_PORT: u16 = 30304;
|
||||||
const MAX_SESSIONS: usize = 1024;
|
const MAX_SESSIONS: usize = 1024;
|
||||||
const MAX_HANDSHAKES: usize = 256;
|
const MAX_HANDSHAKES: usize = 64;
|
||||||
const MAX_HANDSHAKES_PER_ROUND: usize = 64;
|
const MAX_HANDSHAKES_PER_ROUND: usize = 8;
|
||||||
const MAINTENANCE_TIMEOUT: u64 = 1000;
|
const MAINTENANCE_TIMEOUT: u64 = 1000;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
Loading…
Reference in New Issue
Block a user