Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
Increase LMDB's map size (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
mujx committed Aug 29, 2018
1 parent b736229 commit 183975b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static const lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version");

constexpr size_t MAX_RESTORED_MESSAGES = 30;

constexpr auto DB_SIZE = 256UL * 1024UL * 1024UL; // 256 MB
constexpr auto DB_SIZE = 512UL * 1024UL * 1024UL; // 512 MB
constexpr auto MAX_DBS = 1024UL;

//! Cache databases and their format.
Expand Down

0 comments on commit 183975b

Please sign in to comment.