Increase default health check parameters 75/28675/2
authorOndrej Fabry <ofabry@cisco.com>
Fri, 4 Sep 2020 07:50:37 +0000 (09:50 +0200)
committerOndrej Fabry <ofabry@cisco.com>
Fri, 4 Sep 2020 10:49:42 +0000 (10:49 +0000)
Change-Id: I0b5fbbd98fc1bb6fc9d86ed81cb1b3f9755fed67
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
core/connection.go

index 53a9acf..0f54f38 100644 (file)
@@ -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
 )