mirror of https://github.com/hashicorp/consul
505de6dc29
This implements a solution for #7863 It does: Add a new config cache.entry_fetch_rate to limit the number of calls/s for a given cache entry, default value = rate.Inf Add cache.entry_fetch_max_burst size of rate limit (default value = 2) The new configuration now supports the following syntax for instance to allow 1 query every 3s: command line HCL: -hcl 'cache = { entry_fetch_rate = 0.333}' in JSON { "cache": { "entry_fetch_rate": 0.333 } } |
||
---|---|---|
.. | ||
manager.go | ||
manager_test.go | ||
proxycfg.go | ||
snapshot.go | ||
state.go | ||
state_test.go | ||
testing.go |