From: Ondrej Fabry Date: Fri, 4 Sep 2020 07:50:37 +0000 (+0200) Subject: Increase default health check parameters X-Git-Tag: v0.4.0~44 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=govpp.git;a=commitdiff_plain;h=0893e8cffa021073c9a75969db4d090c6ec80f62 Increase default health check parameters Change-Id: I0b5fbbd98fc1bb6fc9d86ed81cb1b3f9755fed67 Signed-off-by: Ondrej Fabry --- 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 )