From 90cae987fd6867644dc12566b95f9169185bd743 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 26 Nov 2020 00:19:09 +0100 Subject: [PATCH] Bump max dbs --- src/Cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.