From 79dde3378a72aee602e108349f545b99c03c351c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Sat, 14 May 2016 21:37:10 -0400 Subject: [PATCH] dht: increase max searches --- 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 e8b6425a..84c23b39 100644 --- a/include/opendht/dht.h +++ b/include/opendht/dht.h @@ -272,7 +272,7 @@ private: static constexpr unsigned MAX_HASHES {16384}; /* The maximum number of searches we keep data about. */ - static constexpr unsigned MAX_SEARCHES {128}; + static constexpr unsigned MAX_SEARCHES {2048}; static constexpr std::chrono::minutes MAX_STORAGE_MAINTENANCE_EXPIRE_TIME {10}; -- GitLab