Increase the number of sessions. (#9203)
This commit is contained in:
		
							parent
							
								
									7ad556346e
								
							
						
					
					
						commit
						a809621f63
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user