Browse Source

kazoo: initialize all workers with rank PROC_XWORKER
- closes GH #972

Ovidiu Sas 8 years ago
parent
commit
b66df87add
1 changed files with 1 additions and 1 deletions
  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(i+1, "AMQP Consumer Worker", 1);
+			pid=fork_process(PROC_XWORKER, "AMQP Consumer Worker", 1);
 			if (pid<0)
 				return -1; /* error */
 			if(pid==0){