mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 04:28:49 +03:00
Fix integer overflow of cachesize on windows
This commit is contained in:
parent
096db389d1
commit
275d4dfed9
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ static lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version");
|
|||
|
||||
constexpr size_t MAX_RESTORED_MESSAGES = 30;
|
||||
|
||||
constexpr auto DB_SIZE = 32UL * 1024UL * 1024UL * 1024UL; // 512 GB
|
||||
constexpr auto DB_SIZE = 32UL * 1024UL * 1024UL * 1024ULL; // 32 GB
|
||||
constexpr auto MAX_DBS = 8092UL;
|
||||
|
||||
//! Cache databases and their format.
|
||||
|
|
Loading…
Reference in a new issue