random remote lease selection for LeaseSet update

This commit is contained in:
orignal 2016-10-23 16:16:08 -04:00
parent fe3ebc4c84
commit c5e2ec5e00
2 changed files with 17 additions and 8 deletions

View file

@ -51,7 +51,7 @@ namespace stream
const int INITIAL_RTO = 9000; // in milliseconds
const size_t MAX_PENDING_INCOMING_BACKLOG = 128;
const int PENDING_INCOMING_TIMEOUT = 10; // in seconds
const int MAX_RECEIVE_TIMEOUT = 60; // in seconds
const int MAX_RECEIVE_TIMEOUT = 30; // in seconds
/** i2cp option for limiting inbound stremaing connections */
const char I2CP_PARAM_STREAMING_MAX_CONNS_PER_MIN[] = "maxconns";