From 15a535c7eae5a4954d51667c8ec8d7900a7d26fe Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 10 Dec 2020 16:40:35 +0100 Subject: [PATCH] dispacher: docs - note that the range for weights include the limits --- .../dispatcher/doc/dispatcher_admin.xml | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml index 53eea613ce7..45f93a31215 100644 --- a/src/modules/dispatcher/doc/dispatcher_admin.xml +++ b/src/modules/dispatcher/doc/dispatcher_admin.xml @@ -2147,20 +2147,21 @@ kamctl rpc dispatcher.hash 4 bob server.com 'weight' - used for weight based load distribution. It must be set - to a positive integer value beteen 0 and 100. The value represents - the percent of calls to be sent to that gateways. The sum must not - exceed 100, otherwise the destinations whose weight added to the - sum go over 100 are ignored. If the sum is less than 100, then the - last destination is used to fill the missing percentage. See also - the description of the corresponding algorithm parameter for + to a positive integer value beteen 1 and 100 (inclusive the limits), + otherwise the destination address is ignored (its weight set to 0). + The value represents the percent of calls to be sent to that gateways. + The sum must not exceed 100, otherwise the destinations whose weight + added to the sum go over 100 are ignored. If the sum is less than 100, + then the last destination is used to fill the missing percentage. See + also the description of the corresponding algorithm parameter for ds_select_dst(). 'rweight' - used for relative weight based load distribution. It - must be set to a positive integer value between 1 and 100 (otherwise - host will be excluded from relative weight distribution - type). See also the description of the corresponding algorithm - parameter for ds_select_dst(). + must be set to a positive integer value between 1 and 100 (inclusive + the limits) otherwise host will be excluded from relative weight + distribution type - its rweight is set to 0. See also the description + of the corresponding algorithm parameter for ds_select_dst(). 'socket' - used to set the sending socket for the gateway. It is