Skip to content
Snippets Groups Projects
Commit 38a7234a authored by Adrien Béraud's avatar Adrien Béraud
Browse files

dht: increase max hashes to 1G

parent 115a0c68
Branches
Tags
No related merge requests found
...@@ -343,7 +343,7 @@ private: ...@@ -343,7 +343,7 @@ private:
static constexpr unsigned LISTEN_NODES {4}; static constexpr unsigned LISTEN_NODES {4};
/* The maximum number of hashes we're willing to track. */ /* The maximum number of hashes we're willing to track. */
static constexpr unsigned MAX_HASHES {1024 * 1024}; static constexpr unsigned MAX_HASHES {1024 * 1024 * 1024};
/* The maximum number of searches we keep data about. */ /* The maximum number of searches we keep data about. */
static constexpr unsigned MAX_SEARCHES {1024 * 1024}; static constexpr unsigned MAX_SEARCHES {1024 * 1024};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment