mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Increase LMDB's map size (#413)
This commit is contained in:
parent
b7362298b0
commit
183975be1a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue