[sr-dev] [kamailio/kamailio] dispatcher algorithm 11, no more than 25 hosts in group for proper distribution (#2698)

Julien Chavanton notifications at github.com
Tue Mar 30 21:39:56 CEST 2021


Not sure but it seems like without much refactoring we may be able to fix the loss of precision by setting the unused positions to -1/disabled

```
case DS_ALG_RELWEIGHT: /* 11 - relative weight based distribution */
           hash = idx->rwlist[idx->rwlast];                             // check/skip  here
           idx->rwlast = (idx->rwlast + 1) % 100;
          break;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2698#issuecomment-810527380
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210330/ef34e581/attachment.htm>


More information about the sr-dev mailing list