From 1b1bac07ab06241aa164ae12b54da4e5dfe4784d Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Mon, 26 Feb 2024 10:52:19 +0000 Subject: [PATCH] Increasing block processing timeout default from 15 to 300 seconds. --- nano/node/nodeconfig.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/node/nodeconfig.hpp b/nano/node/nodeconfig.hpp index 8f7580534a..55b14db049 100644 --- a/nano/node/nodeconfig.hpp +++ b/nano/node/nodeconfig.hpp @@ -88,7 +88,7 @@ class node_config uint16_t external_port{ 0 }; std::chrono::milliseconds block_processor_batch_max_time{ std::chrono::milliseconds (500) }; /** Time to wait for block processing result */ - std::chrono::seconds block_process_timeout{ 15 }; + std::chrono::seconds block_process_timeout{ 300 }; std::chrono::seconds unchecked_cutoff_time{ std::chrono::seconds (4 * 60 * 60) }; // 4 hours /** Timeout for initiated async operations */ std::chrono::seconds tcp_io_timeout{ (network_params.network.is_dev_network () && !is_sanitizer_build ()) ? std::chrono::seconds (5) : std::chrono::seconds (15) };