Module: kamailio
Branch: 4.4
Commit: a3324ac68c3df64fac06e4816f5cb6c5cd507cb5
URL:
https://github.com/kamailio/kamailio/commit/a3324ac68c3df64fac06e4816f5cb6c…
Author: Luis Azedo <luis(a)2600hz.com>
Committer: Luis Azedo <luis(a)2600hz.com>
Date: 2017-02-08T15:48:28Z
Revert "kazoo: set proper ranking for consumer workers"
This reverts commit 8a6c0e21f52af0efa39a3585d53e2f97b2cb90cf.
---
Modified: modules/kazoo/kazoo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a3324ac68c3df64fac06e4816f5cb6c…
Patch:
https://github.com/kamailio/kamailio/commit/a3324ac68c3df64fac06e4816f5cb6c…
---
diff --git a/modules/kazoo/kazoo.c b/modules/kazoo/kazoo.c
index 1401b24..060242d 100644
--- a/modules/kazoo/kazoo.c
+++ b/modules/kazoo/kazoo.c
@@ -389,7 +389,7 @@ static int mod_child_init(int rank)
*/
for(i=0; i < dbk_consumer_workers; i++) {
- pid=fork_process(PROC_NOCHLDINIT, "AMQP Consumer Worker", 1);
+ pid=fork_process(i+1, "AMQP Consumer Worker", 1);
if (pid<0)
return -1; /* error */
if(pid==0){