From 6b33a2ce91c3dd7ef6f525939cf69f161db3a715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Thu, 21 Mar 2024 16:58:35 +0100 Subject: [PATCH] Adjust default max vote cache size --- nano/node/vote_cache.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nano/node/vote_cache.hpp b/nano/node/vote_cache.hpp index b03d288ada..06e4481d19 100644 --- a/nano/node/vote_cache.hpp +++ b/nano/node/vote_cache.hpp @@ -38,8 +38,8 @@ class vote_cache_config final nano::error serialize (nano::tomlconfig & toml) const; public: - std::size_t max_size{ 1024 * 128 }; - std::size_t max_voters{ 128 }; + std::size_t max_size{ 1024 * 64 }; + std::size_t max_voters{ 64 }; std::chrono::seconds age_cutoff{ 15 * 60 }; };