[sr-dev] [kamailio/kamailio] dispatcher: algorithm 13 latency optimized round-robin with failover (#2493)
Salman Ali
notifications at github.com
Wed Nov 11 00:47:29 CET 2020
@asalman18 commented on this pull request.
> @@ -2270,6 +2372,15 @@ int ds_manage_routes(sip_msg_t *msg, ds_select_state_t *rstate)
case DS_ALG_PARALLEL: /* 12 - parallel dispatching */
hash = 0;
break;
+ case DS_ALG_LATENCY: /* 13 - latency optimized round-robin with failover */
+ lock_get(&idx->lock);
+ hash = ds_manage_route_algo13(idx, rstate);
+ lock_release(&idx->lock);
+ if (hash < 0)
Should we check if hash is -1 and not < 0
--
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-527698135
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201110/ec43811d/attachment.htm>
More information about the sr-dev
mailing list