diff options
author | 2019-10-01 16:39:42 +0100 | |
---|---|---|
committer | 2019-10-01 16:39:42 +0100 | |
commit | 2d98d520b5c75d31e37dfe72a67b39707a56dc69 (patch) | |
tree | 2a7863ba64ec1e3ec6af7b4f8842b1d5b2f68ac5 /plugin/forward/README.md | |
parent | 7b69dfebb595fe08bc1fcf52234880da79d4e1aa (diff) | |
download | coredns-2d98d520b5c75d31e37dfe72a67b39707a56dc69.tar.gz coredns-2d98d520b5c75d31e37dfe72a67b39707a56dc69.tar.zst coredns-2d98d520b5c75d31e37dfe72a67b39707a56dc69.zip |
plugin/forward: make Yield not block (#3336)
* plugin/forward: may Yield not block
Yield may block when we're super busy with creating (and looking) for
connection. Set a small timeout on Yield, to skip putting the connection
back in the queue.
Use persistentConn troughout the socket handling code to be more
consistent.
Signed-off-by: Miek Gieben <miek@miek.nl>
Dont do
Signed-off-by: Miek Gieben <miek@miek.nl>
* Set used in Yield
This gives one central place where we update used in the persistConns
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/forward/README.md')
-rw-r--r-- | plugin/forward/README.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/forward/README.md b/plugin/forward/README.md index ae7ce67ba..fd00253dd 100644 --- a/plugin/forward/README.md +++ b/plugin/forward/README.md @@ -102,7 +102,6 @@ If monitoring is enabled (via the *prometheus* directive) then the following met * `coredns_forward_healthcheck_failure_count_total{to}` - number of failed health checks per upstream. * `coredns_forward_healthcheck_broken_count_total{}` - counter of when all upstreams are unhealthy, and we are randomly (this always uses the `random` policy) spraying to an upstream. -* `coredns_forward_socket_count_total{to}` - number of cached sockets per upstream. Where `to` is one of the upstream servers (**TO** from the config), `rcode` is the returned RCODE from the upstream. |