Increase the number of sessions. (#9203)

This commit is contained in:
Tomasz Drwięga 2018-07-30 11:19:47 +02:00 committed by Afri Schoedon
parent 7ad556346e
commit a809621f63
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ use network::{ConnectionFilter, ConnectionDirection};
type Slab<T> = ::slab::Slab<T, usize>;
const MAX_SESSIONS: usize = 1024 + MAX_HANDSHAKES;
const MAX_SESSIONS: usize = 2048 + MAX_HANDSHAKES;
const MAX_HANDSHAKES: usize = 1024;
const DEFAULT_PORT: u16 = 30303;