Fixes #2793. Backport commit f33afd3 to increase dbcache default.
This commit is contained in:
parent
0ad9255d2a
commit
5befbed4bc
|
@ -20,8 +20,8 @@ struct CDiskTxPos;
|
||||||
class uint256;
|
class uint256;
|
||||||
|
|
||||||
//! -dbcache default (MiB)
|
//! -dbcache default (MiB)
|
||||||
static const int64_t nDefaultDbCache = 100;
|
static const int64_t nDefaultDbCache = 450;
|
||||||
//! max. -dbcache in (MiB)
|
//! max. -dbcache (MiB)
|
||||||
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
|
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
|
||||||
//! min. -dbcache in (MiB)
|
//! min. -dbcache in (MiB)
|
||||||
static const int64_t nMinDbCache = 4;
|
static const int64_t nMinDbCache = 4;
|
||||||
|
|
Loading…
Reference in New Issue