summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-01-15 13:10:15 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-17 01:25:43 +0100
commit0d6a65af073d1a06ccc13cbf3f3d54ff898e500f (patch)
tree62dec0886c9235dd5cf70843da867df74451407d /src
parentMove typing display to qml (diff)
downloadnheko-0d6a65af073d1a06ccc13cbf3f3d54ff898e500f.tar.xz
Try to lower map size
Maybe this fixes the 1mb map size in my windows test environment?
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index d74bbe91..f6f8052d 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -44,7 +44,7 @@ static lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version"); constexpr size_t MAX_RESTORED_MESSAGES = 30; -constexpr auto DB_SIZE = 512UL * 1024UL * 1024UL * 1024UL; // 512 GB +constexpr auto DB_SIZE = 32UL * 1024UL * 1024UL * 1024UL; // 512 GB constexpr auto MAX_DBS = 8092UL; //! Cache databases and their format.