summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-29 16:47:28 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-29 16:47:28 +0300
commit183975be1aeef9965a179eb1159d66e818b00ddd (patch)
treeb0416717ea12caafa0a2074d4b734e184b1e5505 /src/Cache.cpp
parentMake lambda that updates avatar a class method (diff)
downloadnheko-183975be1aeef9965a179eb1159d66e818b00ddd.tar.xz
Increase LMDB's map size (#413)
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp2
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.