[sr-dev] git:master:0e5aeba1: ims_registrar_scscf: initialize notification workers with rank PROC_XWORKER

Ovidiu Sas osas at voipembedded.com
Thu Feb 9 21:34:31 CET 2017


Module: kamailio
Branch: master
Commit: 0e5aeba15c7a62899676d488f96b81b121c6d17a
URL: https://github.com/kamailio/kamailio/commit/0e5aeba15c7a62899676d488f96b81b121c6d17a

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: 2017-02-09T15:33:26-05:00

ims_registrar_scscf: initialize notification workers with rank PROC_XWORKER

---

Modified: src/modules/ims_registrar_scscf/reg_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/0e5aeba15c7a62899676d488f96b81b121c6d17a.diff
Patch: https://github.com/kamailio/kamailio/commit/0e5aeba15c7a62899676d488f96b81b121c6d17a.patch

---

diff --git a/src/modules/ims_registrar_scscf/reg_mod.c b/src/modules/ims_registrar_scscf/reg_mod.c
index 66ec247..f3971c5 100644
--- a/src/modules/ims_registrar_scscf/reg_mod.c
+++ b/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;




More information about the sr-dev mailing list