scaled back the dbcache change

This commit is contained in:
Brannon King 2020-06-23 23:05:12 -06:00 committed by Anthony Fieroni
parent 909bb331d0
commit 701cab7df3

View file

@ -59,7 +59,7 @@ class uint256;
//! No need to periodic flush if at least this much space still available. //! No need to periodic flush if at least this much space still available.
static constexpr int MAX_BLOCK_COINSDB_USAGE = 10; static constexpr int MAX_BLOCK_COINSDB_USAGE = 10;
//! -dbcache default (MiB) //! -dbcache default (MiB)
static const int64_t nDefaultDbCache = 4096; static const int64_t nDefaultDbCache = 800;
//! -dbbatchsize default (bytes) //! -dbbatchsize default (bytes)
static const int64_t nDefaultDbBatchSize = 16 << 20; static const int64_t nDefaultDbBatchSize = 16 << 20;
//! max. -dbcache (MiB) //! max. -dbcache (MiB)