[sr-dev] [kamailio/kamailio] kazoo: improper init for ampq consumer worker procs (#972)

Ovidiu Sas notifications at github.com
Wed Feb 8 20:20:20 CET 2017


Just like we have PROC_SIPRPC, maybe we should have PROC_GENERICWORKER.
The PROC_GENERICWORKER could be an alias to PROC_SIPRPC and then all workers should be initialized with the same rank and there will be no hard coding (the +1).

I tested this and it's working.
My initial test was done with modparam("kazoo", "pua_mode", 0) and it didn't catch the db non initialization issue of the "AMQP Consumer Worker" .

Also, having the new PROC_GENERICWORKER would solve all the other hardcoded places in other modules.

-- 
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/972#issuecomment-278432817
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170208/9a7e74ab/attachment.html>


More information about the sr-dev mailing list