Add exponential backoff to healthcheck (#3643)

Move exponential backoff initialization to Start()

Signed-off-by: RickyRajinder <singh.sangh@gmail.com>

Move comment

Increase max interval and update README

Remove trailing whitespace

Change Start() param name back to interval
This commit is contained in:
Ricky S
2020-02-04 05:19:48 -08:00
committed by GitHub
parent 22cd28a798
commit efbe4ac5e8
4 changed files with 29 additions and 21 deletions

1
go.mod
View File

@@ -12,6 +12,7 @@ require (
github.com/apache/thrift v0.13.0 // indirect
github.com/aws/aws-sdk-go v1.28.9
github.com/caddyserver/caddy v1.0.4
github.com/cenkalti/backoff/v4 v4.0.0
github.com/coredns/federation v0.0.0-20190818181423-e032b096babe
github.com/coreos/go-systemd v0.0.0-20190212144455-93d5ec2c7f76 // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect