diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-05-25 11:59:59 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-08-14 08:55:49 +0000 |
commit | d6fc870d041ab2fe28a6b8b525840962a218e91a (patch) | |
tree | f84078740228b7a631410403c59dbb9fd95d6fd5 /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #4129 (diff) | |
download | monero-d6fc870d041ab2fe28a6b8b525840962a218e91a.tar.xz |
db_lmdb: resize blockchain database when 90% filled
instead of a random ratio from 60% to 90%.
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h index 8b214d2df..5e3b3cfa5 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -450,7 +450,7 @@ private: #endif #endif - constexpr static float RESIZE_PERCENT = 0.8f; + constexpr static float RESIZE_PERCENT = 0.9f; }; } // namespace cryptonote |