Merge pull request #27 from AndrewJDR/fix_initial_sync_loop

Attempt to fix issue #19 by increasing the lmdb max_dbs setting.
This commit is contained in:
Joseph Donofry 2019-02-18 18:00:46 -05:00 committed by GitHub
commit 6497d1d822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}
}