increase request timeout

This commit is contained in:
orignal 2024-02-08 21:44:12 -05:00
parent f980277552
commit 1b23aa2d7b
2 changed files with 3 additions and 2 deletions

View file

@ -21,8 +21,9 @@ namespace i2p
namespace data
{
const size_t MAX_NUM_REQUEST_ATTEMPTS = 7;
const uint64_t MANAGE_REQUESTS_INTERVAL = 15; // in seconds
const uint64_t MIN_REQUEST_TIME = 5; // in seconds
const uint64_t MAX_REQUEST_TIME = 60; // in seconds
const uint64_t MAX_REQUEST_TIME = MAX_NUM_REQUEST_ATTEMPTS*MANAGE_REQUESTS_INTERVAL;
class RequestedDestination
{