Module: kamailio
Branch: lazedo/4.2.1
Commit: 57f58f903fae47e30e6cb165db05710394cc9738
URL:
https://github.com/kamailio/kamailio/commit/57f58f903fae47e30e6cb165db05710…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: lazedo <luis.azedo(a)factorlusitano.com>
Date: 2014-12-23T00:56:56Z
kazoo : fork process with tcp option
---
Modified: modules/kazoo/kazoo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/57f58f903fae47e30e6cb165db05710…
Patch:
https://github.com/kamailio/kamailio/commit/57f58f903fae47e30e6cb165db05710…
---
diff --git a/modules/kazoo/kazoo.c b/modules/kazoo/kazoo.c
index 42eafd8..e41a690 100644
--- a/modules/kazoo/kazoo.c
+++ b/modules/kazoo/kazoo.c
@@ -295,11 +295,11 @@ static int mod_child_init(int rank)
if (pid<0)
return -1; /* error */
if(pid==0){
- kz_amqp_manager_loop(0);
+ kz_amqp_manager_loop(1);
}
else {
for(i=0; i < dbk_consumer_processes; i++) {
- pid=fork_process(i+2, "AMQP Consumer", 0);
+ pid=fork_process(i+2, "AMQP Consumer", 1);
if (pid<0)
return -1; /* error */
if(pid==0){