Module: kamailio
Branch: master
Commit: 744e898189fa84b5aa3d19958b348f9b99d48b41
URL:
https://github.com/kamailio/kamailio/commit/744e898189fa84b5aa3d19958b348f9…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-02-07T15:55:53Z
kazoo: set proper ranking for consumer workers
---
Modified: src/modules/kazoo/kazoo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/744e898189fa84b5aa3d19958b348f9…
Patch:
https://github.com/kamailio/kamailio/commit/744e898189fa84b5aa3d19958b348f9…
---
diff --git a/src/modules/kazoo/kazoo.c b/src/modules/kazoo/kazoo.c
index 8c44391..963fae3 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_NOCHLDINIT, "AMQP Consumer Worker", 1);
if (pid<0)
return -1; /* error */
if(pid==0){