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
..
2018-08-14 08:55:55 -07:00
2018-11-15 22:18:49 +00:00
2018-09-19 08:16:04 +01:00
2017-09-14 09:36:06 +01:00
2017-09-14 09:36:06 +01:00
2018-09-19 08:16:04 +01:00
2018-12-01 09:07:03 +00:00
2018-09-19 08:16:04 +01:00
2018-08-14 08:55:55 -07:00