diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2020-09-04 09:50:37 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2020-09-04 10:49:42 +0000 |
commit | 0893e8cffa021073c9a75969db4d090c6ec80f62 (patch) | |
tree | ddca239f1f60ddfc1161494b038d557ae8d45d0b | |
parent | 760f6c2329f9c0247b265d1a69c02a2feebfafd5 (diff) |
Increase default health check parameters
Change-Id: I0b5fbbd98fc1bb6fc9d86ed81cb1b3f9755fed67
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
-rw-r--r-- | core/connection.go | 4 |
1 files 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 ) |