forked from blue/squawk
change cache file size
This commit is contained in:
parent
7ca46b0663
commit
f2894be3a5
@ -58,7 +58,7 @@ void Core::Archive::open(const QString& account)
|
|||||||
}
|
}
|
||||||
|
|
||||||
mdb_env_set_maxdbs(environment, 5);
|
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_env_open(environment, path.toStdString().c_str(), 0, 0664);
|
||||||
|
|
||||||
MDB_txn *txn;
|
MDB_txn *txn;
|
||||||
|
Loading…
Reference in New Issue
Block a user