From 88ef28f78707db0daacd3dddaf73ed2c2d77182c Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 5 Aug 2026 14:57:13 +0200 Subject: [PATCH] core: cfg_update() for async task execution --- src/core/async_task.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/async_task.c b/src/core/async_task.c index 8f0b89bf03..5b9d348c6d 100644 --- a/src/core/async_task.c +++ b/src/core/async_task.c @@ -520,6 +520,7 @@ int async_task_run(async_wgroup_t *awg, int idx) if(ptask->exec != NULL) { LM_DBG("task executed [%p] (%p/%p)\n", (void *)ptask, (void *)ptask->exec, (void *)ptask->param); + cfg_update(); ptask->exec(ptask->param); } else { LM_DBG("task with no callback function - ignoring\n"); @@ -607,6 +608,7 @@ void async_exec_tkv(void *param) _ksr_async_tkv_param = adp; set_route_type(REQUEST_ROUTE); keng = sr_kemi_eng_get(); + cfg_update(); if(keng != NULL) { if(sr_kemi_route(keng, fmsg, EVENT_ROUTE, &async_tkv_evcb, &evname) < 0) {