Increase LMDB's map size (#413)

This commit is contained in:
Konstantinos Sideris 2018-08-29 16:47:28 +03:00
parent b7362298b0
commit 183975be1a

View file

@ -41,7 +41,7 @@ static const lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version");
constexpr size_t MAX_RESTORED_MESSAGES = 30; 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; constexpr auto MAX_DBS = 1024UL;
//! Cache databases and their format. //! Cache databases and their format.