From 5115fab9e6a5574a20b45ec4ad9aa0f1ca8cfe17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Thu, 16 Nov 2017 16:49:59 +0100 Subject: [PATCH] dht: increase max searches limit --- include/opendht/dht.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/opendht/dht.h b/include/opendht/dht.h index d5131481..60794af6 100644 --- a/include/opendht/dht.h +++ b/include/opendht/dht.h @@ -339,7 +339,7 @@ private: static constexpr unsigned MAX_HASHES {16384}; /* The maximum number of searches we keep data about. */ - static constexpr unsigned MAX_SEARCHES {2048}; + static constexpr unsigned MAX_SEARCHES {16384}; static constexpr std::chrono::minutes MAX_STORAGE_MAINTENANCE_EXPIRE_TIME {10}; -- GitLab