mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Merge pull request #31 from Nheko-Reborn/fix_initial_sync_loop
Fix initial sync loop
This commit is contained in:
commit
4c8f6ab0c5
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue