Browse code

kazoo : fork process with tcp option

lazedo authored on 23/12/2014 00:56:56
Showing 1 changed files
... ...
@@ -295,11 +295,11 @@ static int mod_child_init(int rank)
295 295
 		if (pid<0)
296 296
 			return -1; /* error */
297 297
 		if(pid==0){
298
-			kz_amqp_manager_loop(0);
298
+			kz_amqp_manager_loop(1);
299 299
 		}
300 300
 		else {
301 301
 			for(i=0; i < dbk_consumer_processes; i++) {
302
-				pid=fork_process(i+2, "AMQP Consumer", 0);
302
+				pid=fork_process(i+2, "AMQP Consumer", 1);
303 303
 				if (pid<0)
304 304
 					return -1; /* error */
305 305
 				if(pid==0){