소스 검색

Revert "kazoo: set proper ranking for consumer workers"

This reverts commit 744e898189fa84b5aa3d19958b348f9b99d48b41.
Luis Azedo 8 년 전
부모
커밋
026c768a1d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/modules/kazoo/kazoo.c

+ 1 - 1
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){