This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 1d73f7d update description of cache-timeout
1d73f7d is described below
commit 1d73f7d2eb52ba3670490b4de67a80290370122e
Author: Paul Wright <[email protected]>
AuthorDate: Thu Sep 16 15:16:53 2021 +0100
update description of cache-timeout
---
docs/user-manual/en/broker-balancers.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/user-manual/en/broker-balancers.md
b/docs/user-manual/en/broker-balancers.md
index 3f9922b..30f773d 100644
--- a/docs/user-manual/en/broker-balancers.md
+++ b/docs/user-manual/en/broker-balancers.md
@@ -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: