Fixes #2793. Backport commit f33afd3 to increase dbcache default.

This commit is contained in:
Simon 2017-03-31 10:25:39 -04:00
parent 0ad9255d2a
commit 5befbed4bc
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ struct CDiskTxPos;
class uint256;
//! -dbcache default (MiB)
static const int64_t nDefaultDbCache = 100;
//! max. -dbcache in (MiB)
static const int64_t nDefaultDbCache = 450;
//! max. -dbcache (MiB)
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
//! min. -dbcache in (MiB)
static const int64_t nMinDbCache = 4;