Module: kamailio
Branch: master
Commit: 7739284d78f85c42621cd3dd76dad0149c9329e4
URL:
https://github.com/kamailio/kamailio/commit/7739284d78f85c42621cd3dd76dad01…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: lazedo <luis.azedo(a)factorlusitano.com>
Date: 2014-12-26T18:46:41Z
kazoo : fork process with tcp option
---
Modified: modules/kazoo/kazoo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7739284d78f85c42621cd3dd76dad01…
Patch:
https://github.com/kamailio/kamailio/commit/7739284d78f85c42621cd3dd76dad01…
---
diff --git a/modules/kazoo/kazoo.c b/modules/kazoo/kazoo.c
index 2f96e8a..466919d 100644
--- a/modules/kazoo/kazoo.c
+++ b/modules/kazoo/kazoo.c
@@ -276,7 +276,7 @@ static int mod_child_init(int rank)
if (rank==PROC_MAIN) {
- pid=fork_process(1, "AMQP Manager", 0);
+ pid=fork_process(1, "AMQP Manager", 1);
if (pid<0)
return -1; /* error */
if(pid==0){
@@ -284,7 +284,7 @@ static int mod_child_init(int rank)
}
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){