From 5befbed4bc4f074a799ec413f595eb21f6cf06c2 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 31 Mar 2017 10:25:39 -0400 Subject: [PATCH] Fixes #2793. Backport commit f33afd3 to increase dbcache default. --- src/txdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/txdb.h b/src/txdb.h index a2764b8c2..04ac8627b 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -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;