Reduce number of CIDs we store closer to specified minimum of 2

This commit is contained in:
Benjamin Saunders
2020-03-10 18:30:58 -07:00
committed by Dirkjan Ochtman
parent 2577aa977a
commit 22d7136aff
+1 -1
View File
@@ -226,7 +226,7 @@ pub struct Transmit {
/// The maximum number of CIDs we bother to issue per connection
const LOC_CID_COUNT: u64 = 8;
/// The maximum number of remote CIDs we're willing to store per connection
const REM_CID_COUNT: u64 = 32;
const REM_CID_COUNT: u64 = 8;
const RESET_TOKEN_SIZE: usize = 16;
const MAX_CID_SIZE: usize = 20;
const MIN_INITIAL_SIZE: usize = 1200;