summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJoseph Donofry <rubberduckie3554@gmail.com>2019-02-18 22:52:36 -0500
committerGitHub <noreply@github.com>2019-02-18 22:52:36 -0500
commit4c8f6ab0c5406cf9d46cde4aa79fb249f5268fba (patch)
tree07960143212a70b68ec98ab752d0e12c6e4c261e /src
parentMerge pull request #28 from miocho/patch-1 (diff)
parentMerge pull request #27 from AndrewJDR/fix_initial_sync_loop (diff)
downloadnheko-4c8f6ab0c5406cf9d46cde4aa79fb249f5268fba.tar.xz
Merge pull request #31 from Nheko-Reborn/fix_initial_sync_loop
Fix initial sync loop
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index d6a7b509..81054ddc 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -42,7 +42,7 @@ static const lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version"); constexpr size_t MAX_RESTORED_MESSAGES = 30; constexpr auto DB_SIZE = 512UL * 1024UL * 1024UL; // 512 MB -constexpr auto MAX_DBS = 1024UL; +constexpr auto MAX_DBS = 8092UL; //! Cache databases and their format. //! @@ -2147,4 +2147,4 @@ void Cache::clearUserColors() { UserColors.clear(); -} \ No newline at end of file +}