Browse Source

ims_registrar_scscf: initialize notification workers with rank PROC_XWORKER

Ovidiu Sas 8 years ago
parent
commit
0e5aeba15c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/ims_registrar_scscf/reg_mod.c

+ 1 - 1
src/modules/ims_registrar_scscf/reg_mod.c

@@ -533,7 +533,7 @@ if (rank == PROC_MAIN) {
     
         /* fork notification workers */
 	for(k=0;k<notification_processes;k++){
-		pid = fork_process(1001+k,"notification_worker",1);
+		pid = fork_process(PROC_XWORKER,"notification_worker",1);
 		if (pid==-1){
 			LM_CRIT("init_notification_worker(): Error on fork() for worker!\n");
 			return 0;