From ed972fd365d5547127aeea9a82264970e9275815 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Fri, 15 Apr 2022 19:20:05 -0400
Subject: [PATCH] dht: allow to store up to 64k values per hash

---
 src/storage.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/storage.h b/src/storage.h
index b7607bb6..01ad4907 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -88,7 +88,7 @@ struct Storage {
     size_t listener_token {1};
 
     /* The maximum number of values we store for a given hash. */
-    static constexpr unsigned MAX_VALUES {1024};
+    static constexpr unsigned MAX_VALUES {64 * 1024};
 
     /**
      * Changes caused by an operation on the storage.
-- 
GitLab