[sr-dev] [kamailio/kamailio] dispatcher: algorithm 13 latency optimized round-robin with failover (#2493)
Salman Ali
notifications at github.com
Wed Nov 11 00:31:50 CET 2020
@asalman18 commented on this pull request.
> + z, ds_dest->uri.len, ds_dest->uri.s,
+ gw_priority, latency_proirity_handicap,
+ ds_dest->attrs.rpriority, gw_latency, ds_dest->flags);
+ } else {
+ ds_sorted[y].idx = -1;
+ ds_sorted[y].priority = -1;
+ LM_DBG("[inactive]idx[%d]uri[%.*s]priority[%d]latency[%dms]flag[%d]",
+ z, ds_dest->uri.len, ds_dest->uri.s,
+ gw_priority, gw_latency, ds_dest->flags);
+ }
+ if(ds_use_default != 0 && idx->nr != 1)
+ z = (z + 1) % (idx->nr - 1);
+ else
+ z = (z + 1) % idx->nr;
+ }
+ idx->last = hash % idx->nr;
should be removed
--
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/pull/2493#pullrequestreview-527691257
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201110/e75299f5/attachment.htm>
More information about the sr-dev
mailing list