Browse Source

use evrexec for deferred init

4.3
lazedo 7 years ago
committed by Luis Azedo
parent
commit
fa80fef784
2 changed files with 5 additions and 13 deletions
  1. +5
    -11
      kamailio/default.cfg
  2. +0
    -2
      kamailio/defs.cfg

+ 5
- 11
kamailio/default.cfg View File

@ -160,13 +160,13 @@ modparam("htable", "htable", "redirects=>size=16;autoexpire=5")
######## Pseudo-Variables module ########
loadmodule "pv.so"
######## async operations module ########
loadmodule "async.so"
modparam("async", "workers", KZ_ASYNC_WORKERS)
####### RTIMER module ##########
loadmodule "rtimer.so"
####### evrexec module ##########
loadmodule "evrexec.so"
modparam("evrexec", "exec", "name=evrexec:DEFERRED_INIT;wait=20000000;workers=1;")
######## Advanced logger module ########
loadmodule "xlog.so"
@ -966,13 +966,7 @@ event_route[tm:local-request]
}
#!endif
event_route[core:worker-one-init]
{
async_route("DEFERRED_INIT", "20");
}
route[DEFERRED_INIT]
event_route[evrexec:DEFERRED_INIT]
{
xlog("L_INFO", "processing deferred init\n");


+ 0
- 2
kamailio/defs.cfg View File

@ -5,8 +5,6 @@
#!trydef KAZOO_LOG_LEVEL L_INFO
#!trydef KZ_ASYNC_WORKERS 3
#!ifndef KAMAILIO_DBMS
#!substdef "!KAMAILIO_DBMS!kazoo!g"
#!endif


Loading…
Cancel
Save