From 7f0a5dfda37effd003a47968dedfdd29a7d6ee6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= Date: Wed, 26 Dec 2018 10:28:55 -0500 Subject: [PATCH] dht: increase max number of searches and hashes --- include/opendht/dht.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/opendht/dht.h b/include/opendht/dht.h index 50cccab2..7f750795 100644 --- a/include/opendht/dht.h +++ b/include/opendht/dht.h @@ -324,10 +324,10 @@ private: static constexpr unsigned LISTEN_NODES {4}; /* The maximum number of hashes we're willing to track. */ - static constexpr unsigned MAX_HASHES {16384}; + static constexpr unsigned MAX_HASHES {64 * 1024}; /* The maximum number of searches we keep data about. */ - static constexpr unsigned MAX_SEARCHES {16384}; + static constexpr unsigned MAX_SEARCHES {64 * 1024}; static constexpr std::chrono::minutes MAX_STORAGE_MAINTENANCE_EXPIRE_TIME {10};