db_lmdb: resize blockchain database when 90% filled

instead of a random ratio from 60% to 90%.
This commit is contained in:
moneromooo-monero
2018-05-25 11:59:59 +01:00
parent 0dddfeacc9
commit d6fc870d04
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ private:
#endif
#endif
constexpr static float RESIZE_PERCENT = 0.8f;
constexpr static float RESIZE_PERCENT = 0.9f;
};
} // namespace cryptonote