update description of cache-timeout

This commit is contained in:
Paul Wright 2021-09-16 15:16:53 +01:00 committed by clebertsuconic
parent cb17b78dd2
commit 1d73f7d2eb
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ A policy is defined by the `policy` element. Let's take a look at a policy examp
The broker balancer provides a cache with a timeout to improve the stickiness of the target broker selected,
returning the same target broker for a target key as long as it is present in the cache and is ready.
So a broker balancer with the cache enabled doesn't strictly follow the configured policy.
By default, the cache is enabled, to disable the cache the `cache-timeout` parameter must be `0`.
By default, the cache is enabled, and will never timeout. Set `cache-timeout` parameter to
a value in seconds for time out, or disable the cache by setting the value to `0`.
## Defining broker balancers
A broker balancer is defined by `broker-balancer` element, it includes the following items: