From 5a775d5e4bd247f3752121b65f96bf50106d5b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Tue, 5 Mar 2024 09:01:02 +0100 Subject: [PATCH] Bump local block queue size to 8k elements --- nano/node/local_block_broadcaster.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/node/local_block_broadcaster.hpp b/nano/node/local_block_broadcaster.hpp index 78547ef809..486fe85512 100644 --- a/nano/node/local_block_broadcaster.hpp +++ b/nano/node/local_block_broadcaster.hpp @@ -97,7 +97,7 @@ class local_block_broadcaster std::thread thread; // TODO: Make these configurable - static std::size_t constexpr max_size{ 1024 }; + static std::size_t constexpr max_size{ 1024 * 8 }; static std::chrono::seconds constexpr check_interval{ 30 }; static std::chrono::seconds constexpr broadcast_interval{ 60 }; static std::size_t constexpr broadcast_rate_limit{ 32 };