Skip to content

Commit

Permalink
Merge pull request #27 from AndrewJDR/fix_initial_sync_loop
Browse files Browse the repository at this point in the history
Attempt to fix issue #19 by increasing the lmdb max_dbs setting.
  • Loading branch information
redsky17 authored Feb 18, 2019
2 parents 440d0b8 + b5733b2 commit 6497d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//!
Expand Down Expand Up @@ -2147,4 +2147,4 @@ void
Cache::clearUserColors()
{
UserColors.clear();
}
}

0 comments on commit 6497d1d

Please sign in to comment.