coredns/plugin/pkg/up
Miek Gieben bae9514e94
pkg/up: implement backoff (#2342)
* pkg/up: implement backoff

Every 2nd failure we double the interval until we hit 4 * interval. This
to have some sort of backoff, esp when a large cluster of coredns shares
an upstream (original intent of up package) they will hammer the
upstream. This put some back pressure on that.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Update plugin/pkg/up/up.go

Co-Authored-By: miekg <miek@miek.nl>
2018-12-01 09:07:03 +00:00
..
up.go pkg/up: implement backoff (#2342) 2018-12-01 09:07:03 +00:00
up_test.go plugin/forward using pkg/up (#1493) 2018-02-15 10:21:57 +01:00