Module: kamailio Branch: master Commit: d62748643164cf2530fa5cc7ded4aa005bfba5de URL: https://github.com/kamailio/kamailio/commit/d62748643164cf2530fa5cc7ded4aa00...
Author: Henning Westerholt hw@skalatan.de Committer: Henning Westerholt hw@skalatan.de Date: 2019-07-28T19:51:29+02:00
async: small adaption of new ms timer to the existing timer logging
---
Modified: src/modules/async/async_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/d62748643164cf2530fa5cc7ded4aa00... Patch: https://github.com/kamailio/kamailio/commit/d62748643164cf2530fa5cc7ded4aa00...
---
diff --git a/src/modules/async/async_mod.c b/src/modules/async/async_mod.c index 978f133ec3..aae3c65500 100644 --- a/src/modules/async/async_mod.c +++ b/src/modules/async/async_mod.c @@ -155,10 +155,10 @@ static int child_init(int rank) }
if((async_ms_timer > 0) && fork_basic_utimer(PROC_TIMER, - "ASYNC MOD MILLI TIMER SINGLETON", 1 /*socks flag*/, + "ASYNC MOD MS TIMER", 1 /*socks flag*/, async_mstimer_exec, NULL, 1000 * async_ms_timer /*milliseconds*/) < 0) { - LM_ERR("failed to register millisecond timer singleton as process (%d)\n", + LM_ERR("failed to register millisecond timer as process (%d)\n", i); return -1; /* error */ }