From 9778fc0bfcf0854020eb10cb9a4ec11fea84a19d Mon Sep 17 00:00:00 2001 From: "roman.khlopkov" <roman.khlopkov@demlabs.net> Date: Tue, 30 Jul 2024 18:18:40 +0300 Subject: [PATCH] [*] Increase sync window size --- dap-sdk | 2 +- modules/chain/dap_chain_ch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dap-sdk b/dap-sdk index 136957afc5..7e3bc51a40 160000 --- a/dap-sdk +++ b/dap-sdk @@ -1 +1 @@ -Subproject commit 136957afc5eaa4d7ae3b830f1d169908e2a9e696 +Subproject commit 7e3bc51a4004f0a3163578430c784caf40f61d00 diff --git a/modules/chain/dap_chain_ch.c b/modules/chain/dap_chain_ch.c index e7b4fb6ca1..2408af9abd 100644 --- a/modules/chain/dap_chain_ch.c +++ b/modules/chain/dap_chain_ch.c @@ -140,7 +140,7 @@ static bool s_sync_timer_callback(void *a_arg); static bool s_debug_more = false, s_debug_legacy = false; static uint32_t s_sync_timeout = 30; static uint32_t s_sync_packets_per_thread_call = 10; -static uint32_t s_sync_ack_window_size = 100; // atoms +static uint32_t s_sync_ack_window_size = 512; // atoms // Legacy static uint_fast16_t s_update_pack_size = 100; // Number of hashes packed into the one packet -- GitLab