prometheus/discovery/consul
Pierre Souchay 1508678001
Use 10m timeouts for watches (#7423)
use ?wait=10m will give results as fast as usual when data is changing
but will perform far less requests when services do not change.

On large infrastructure, this will reduce quite a lot the number of
qps on Consul servers while having the same performance for freshness
of results.

Signed-off-by: Pierre Souchay <p.souchay@criteo.com>
2020-06-20 20:22:45 +01:00
..
consul.go Use 10m timeouts for watches (#7423) 2020-06-20 20:22:45 +01:00
consul_test.go Use 10m timeouts for watches (#7423) 2020-06-20 20:22:45 +01:00