[sr-dev] git:master:026c768a: Revert "kazoo: set proper ranking for consumer workers"

Luis Azedo luis at 2600hz.com
Wed Feb 8 16:48:22 CET 2017


Module: kamailio
Branch: master
Commit: 026c768a1d9b2227250f8dc037ef755e611fdf8c
URL: https://github.com/kamailio/kamailio/commit/026c768a1d9b2227250f8dc037ef755e611fdf8c

Author: Luis Azedo <luis at 2600hz.com>
Committer: Luis Azedo <luis at 2600hz.com>
Date: 2017-02-08T15:47:53Z

Revert "kazoo: set proper ranking for consumer workers"

This reverts commit 744e898189fa84b5aa3d19958b348f9b99d48b41.

---

Modified: src/modules/kazoo/kazoo.c

---

Diff:  https://github.com/kamailio/kamailio/commit/026c768a1d9b2227250f8dc037ef755e611fdf8c.diff
Patch: https://github.com/kamailio/kamailio/commit/026c768a1d9b2227250f8dc037ef755e611fdf8c.patch

---

diff --git a/src/modules/kazoo/kazoo.c b/src/modules/kazoo/kazoo.c
index 963fae3..8c44391 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(PROC_NOCHLDINIT, "AMQP Consumer Worker", 1);
+			pid=fork_process(i+1, "AMQP Consumer Worker", 1);
 			if (pid<0)
 				return -1; /* error */
 			if(pid==0){




More information about the sr-dev mailing list