|
|
|
@ -1,6 +1,3 @@ |
|
|
|
|
|
|
|
#!ifdef PRESENCE_ROLE |
|
|
|
|
|
|
|
######## async operations module ######## |
|
|
|
loadmodule "async.so" |
|
|
|
modparam("async", "workers", 5) |
|
|
|
@ -8,7 +5,16 @@ modparam("async", "workers", 5) |
|
|
|
|
|
|
|
event_route[core:worker-one-init] |
|
|
|
{ |
|
|
|
async_route("PRESENCE_INITIAL_CLEANUP", "20"); |
|
|
|
async_route("DEFERRED_INIT", "20"); |
|
|
|
} |
|
|
|
|
|
|
|
#!endif |
|
|
|
|
|
|
|
route[DEFERRED_INIT] |
|
|
|
{ |
|
|
|
xlog("L_INFO", "processing deferred init\n"); |
|
|
|
|
|
|
|
#!ifdef PRESENCE_ROLE |
|
|
|
route(PRESENCE_INITIAL_CLEANUP); |
|
|
|
#!endif |
|
|
|
|
|
|
|
} |