From ce7c992083c0794fd4fa2d814e47376049a32e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:30:00 +0200 Subject: [PATCH] Adjust channel limit --- nano/node/bootstrap/bootstrap_config.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nano/node/bootstrap/bootstrap_config.hpp b/nano/node/bootstrap/bootstrap_config.hpp index e9b59f3b7f..af7b98bcb3 100644 --- a/nano/node/bootstrap/bootstrap_config.hpp +++ b/nano/node/bootstrap/bootstrap_config.hpp @@ -34,8 +34,8 @@ class bootstrap_ascending_config final bool enable_database_scan{ true }; bool enable_dependency_walker{ true }; - // Maximum number of un-responded requests per channel - std::size_t channel_limit{ 64 }; + // Maximum number of un-responded requests per channel, should be lower or equal to bootstrap server max queue size + std::size_t channel_limit{ 16 }; std::size_t database_rate_limit{ 256 }; std::size_t database_warmup_ratio{ 10 }; std::size_t max_pull_count{ nano::bootstrap_server::max_blocks };