diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-26 00:19:09 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-26 00:19:09 +0100 |
commit | 90cae987fd6867644dc12566b95f9169185bd743 (patch) | |
tree | 6b6a974066487a7c251f65b0a65a8eb940dfa0f9 /src | |
parent | Update translations (diff) | |
download | nheko-90cae987fd6867644dc12566b95f9169185bd743.tar.xz |
Bump max dbs
Diffstat (limited to 'src')
-rw-r--r-- | src/Cache.cpp | 2 |
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. |