Skip to content

Commit

Permalink
kazoo : fork process with tcp option
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo committed Dec 26, 2014
1 parent e2aff53 commit 7739284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/kazoo/kazoo.c
Expand Up @@ -276,15 +276,15 @@ 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){
kz_amqp_manager_loop(0);
}
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){
Expand Down

0 comments on commit 7739284

Please sign in to comment.