summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-11-26 00:19:09 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-11-26 00:19:09 +0100
commit90cae987fd6867644dc12566b95f9169185bd743 (patch)
tree6b6a974066487a7c251f65b0a65a8eb940dfa0f9 /src
parentc6661049f5efb726ec0255cff504179eb8ce1bf5 (diff)
Bump max dbs
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp
index be9af8ee..738f1152 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -50,7 +50,7 @@ static lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version");
constexpr size_t MAX_RESTORED_MESSAGES = 30'000;
constexpr auto DB_SIZE = 32ULL * 1024ULL * 1024ULL * 1024ULL; // 32 GB
-constexpr auto MAX_DBS = 8092UL;
+constexpr auto MAX_DBS = 32384UL;
constexpr auto BATCH_SIZE = 100;
//! Cache databases and their format.