diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-29 16:47:28 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-29 16:47:28 +0300 |
commit | 183975be1aeef9965a179eb1159d66e818b00ddd (patch) | |
tree | b0416717ea12caafa0a2074d4b734e184b1e5505 /src/Cache.cpp | |
parent | Make lambda that updates avatar a class method (diff) | |
download | nheko-183975be1aeef9965a179eb1159d66e818b00ddd.tar.xz |
Increase LMDB's map size (#413)
Diffstat (limited to '')
-rw-r--r-- | src/Cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index d67a2e90..b8b4a2bf 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -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. |