change cache file size

This commit is contained in:
shunf4 2021-07-11 18:30:23 +08:00
parent 7ca46b0663
commit f2894be3a5

View File

@ -58,7 +58,7 @@ void Core::Archive::open(const QString& account)
}
mdb_env_set_maxdbs(environment, 5);
mdb_env_set_mapsize(environment, 512UL * 1024UL * 1024UL);
mdb_env_set_mapsize(environment, 16UL * 1024UL * 1024UL);
mdb_env_open(environment, path.toStdString().c_str(), 0, 0664);
MDB_txn *txn;