From b4c8cf0a678bbed161a405b99ca0676f6266f2b3 Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Sat, 14 Sep 2024 10:12:54 +0200 Subject: [PATCH] Change heartbeat timeout (#2598) --- relay/healthcheck/receiver.go | 2 +- relay/healthcheck/sender.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/relay/healthcheck/receiver.go b/relay/healthcheck/receiver.go index 2b9c9e2e0..59f780ed8 100644 --- a/relay/healthcheck/receiver.go +++ b/relay/healthcheck/receiver.go @@ -6,7 +6,7 @@ import ( ) var ( - heartbeatTimeout = healthCheckInterval + 3*time.Second + heartbeatTimeout = healthCheckInterval + 10*time.Second ) // Receiver is a healthcheck receiver diff --git a/relay/healthcheck/sender.go b/relay/healthcheck/sender.go index ec0560ef2..8d1716b2c 100644 --- a/relay/healthcheck/sender.go +++ b/relay/healthcheck/sender.go @@ -7,7 +7,7 @@ import ( var ( healthCheckInterval = 25 * time.Second - healthCheckTimeout = 5 * time.Second + healthCheckTimeout = 20 * time.Second ) // Sender is a healthcheck sender