From 0893e8cffa021073c9a75969db4d090c6ec80f62 Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Fri, 4 Sep 2020 09:50:37 +0200 Subject: Increase default health check parameters Change-Id: I0b5fbbd98fc1bb6fc9d86ed81cb1b3f9755fed67 Signed-off-by: Ondrej Fabry --- core/connection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/connection.go b/core/connection.go index 53a9acf..0f54f38 100644 --- a/core/connection.go +++ b/core/connection.go @@ -42,8 +42,8 @@ var ( var ( HealthCheckProbeInterval = time.Second // default health check probe interval - HealthCheckReplyTimeout = time.Millisecond * 100 // timeout for reply to a health check probe - HealthCheckThreshold = 1 // number of failed health checks until the error is reported + HealthCheckReplyTimeout = time.Millisecond * 250 // timeout for reply to a health check probe + HealthCheckThreshold = 2 // number of failed health checks until the error is reported DefaultReplyTimeout = time.Second // default timeout for replies from VPP ) -- cgit 1.2.3-korg