[sr-dev] [kamailio/kamailio] Kamailio dispatcher module reports incorrect values with Call-Load based dispatching algorithm(No.10) (#2322)
Daniel-Constantin Mierla
notifications at github.com
Tue May 19 13:49:21 CEST 2020
@hbilling - I went through the code and for now I pushed a commit based on your remarks, defining macros for increment/decrement guarded by dst group lock. The increment is in a single place, decrement in two places, so I am not sure if using an atomic variable there will give any significant gain. When I will get some time for more testing, I will play with variants. The `ds_get_leastloaded()` was also updated to use the dst group lock.
Test and if all ok, report back and it can be backported.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2322#issuecomment-630767354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200519/55a723aa/attachment.html>
More information about the sr-dev
mailing list