From 42fa8e818b09d7227457ae487dc7b3a469d06ccd Mon Sep 17 00:00:00 2001 From: Benguang Zhao Date: Mon, 20 Nov 2023 20:28:10 +0800 Subject: [PATCH] enh: adjust timeout threshold of snapshot replication --- include/libs/sync/sync.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libs/sync/sync.h b/include/libs/sync/sync.h index a19b249bc7..ece1e40585 100644 --- a/include/libs/sync/sync.h +++ b/include/libs/sync/sync.h @@ -45,8 +45,8 @@ extern "C" { #define SYNC_HEARTBEAT_SLOW_MS 1500 #define SYNC_HEARTBEAT_REPLY_SLOW_MS 1500 -#define SYNC_SNAP_RESEND_MS 1000 * 60 -#define SYNC_SNAP_TIMEOUT_MS 1000 * 600 +#define SYNC_SNAP_RESEND_MS 1000 * 300 +#define SYNC_SNAP_TIMEOUT_MS 1000 * 1800 #define SYNC_VND_COMMIT_MIN_MS 3000