Module: kamailio
Branch: master
Commit: b66df87adde282c3eaa7ab793c598bfe67f8f9a1
URL:
https://github.com/kamailio/kamailio/commit/b66df87adde282c3eaa7ab793c598bf…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2017-02-09T15:20:24-05:00
kazoo: initialize all workers with rank PROC_XWORKER
- closes GH #972
---
Modified: src/modules/kazoo/kazoo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b66df87adde282c3eaa7ab793c598bf…
Patch:
https://github.com/kamailio/kamailio/commit/b66df87adde282c3eaa7ab793c598bf…
---
diff --git a/src/modules/kazoo/kazoo.c b/src/modules/kazoo/kazoo.c
index 8c44391..ee4213f 100644
--- a/src/modules/kazoo/kazoo.c
+++ b/src/modules/kazoo/kazoo.c
@@ -369,7 +369,7 @@ static int mod_child_init(int rank)
*/
for(i=0; i < dbk_consumer_workers; i++) {
- pid=fork_process(i+1, "AMQP Consumer Worker", 1);
+ pid=fork_process(PROC_XWORKER, "AMQP Consumer Worker", 1);
if (pid<0)
return -1; /* error */
if(pid==0){