diff options
author | 2018-01-18 10:40:09 +0000 | |
---|---|---|
committer | 2018-01-18 10:40:09 +0000 | |
commit | c39e5cd01459b35fa04a4e62c798118953e15806 (patch) | |
tree | edb5c673bb0e95da412739569d9c58f0a1ca3fc0 /plugin/rewrite/class.go | |
parent | 318bab77956a8aed04dce8d7a40823bb802282da (diff) | |
download | coredns-c39e5cd01459b35fa04a4e62c798118953e15806.tar.gz coredns-c39e5cd01459b35fa04a4e62c798118953e15806.tar.zst coredns-c39e5cd01459b35fa04a4e62c798118953e15806.zip |
plugin/health: add lameduck mode (#1379)
* plugin/health: add lameduck mode
Add a way to configure lameduck more, i.e. set health to false, stop
polling plugins. Then wait for a duration before shutting down. As the
health middleware is configured early on in the plugin list, it will
hold up all other shutdown, meaning we still answer queries.
* Add New
* More tests
* golint
* remove confusing text
Diffstat (limited to 'plugin/rewrite/class.go')
0 files changed, 0 insertions, 0 deletions