mirror of
https://github.com/kamailio/kamailio
synced 2026-08-07 16:32:08 -04:00
core: cfg_update() for async task execution
Some checks failed
CMake on multiple platforms / build (Release, clang, DEFAULT, ubuntu-latest, aarch64) (push) Failing after 4s
CMake on multiple platforms / build (Release, clang, DEFAULT, ubuntu-latest, x86_64) (push) Failing after 3s
CMake on multiple platforms / build (Release, gcc, DEFAULT, ubuntu-latest, aarch64) (push) Failing after 3s
CMake on multiple platforms / build (Release, gcc, DEFAULT, ubuntu-latest, x86_64) (push) Failing after 2s
build / build (clang, sid) (push) Failing after 0s
build devcontainer image / build (push) Failing after 3s
build / build (clang, trixie) (push) Failing after 0s
build / build (gcc, sid) (push) Failing after 0s
build / build (gcc, trixie) (push) Failing after 0s
CMake on multiple platforms / build (Release, gcc, DEFAULT, macos-latest, aarch64) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, DEFAULT, macos-latest, aarch64) (push) Has been cancelled
Some checks failed
CMake on multiple platforms / build (Release, clang, DEFAULT, ubuntu-latest, aarch64) (push) Failing after 4s
CMake on multiple platforms / build (Release, clang, DEFAULT, ubuntu-latest, x86_64) (push) Failing after 3s
CMake on multiple platforms / build (Release, gcc, DEFAULT, ubuntu-latest, aarch64) (push) Failing after 3s
CMake on multiple platforms / build (Release, gcc, DEFAULT, ubuntu-latest, x86_64) (push) Failing after 2s
build / build (clang, sid) (push) Failing after 0s
build devcontainer image / build (push) Failing after 3s
build / build (clang, trixie) (push) Failing after 0s
build / build (gcc, sid) (push) Failing after 0s
build / build (gcc, trixie) (push) Failing after 0s
CMake on multiple platforms / build (Release, gcc, DEFAULT, macos-latest, aarch64) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, DEFAULT, macos-latest, aarch64) (push) Has been cancelled
This commit is contained in:
parent
94dfa27534
commit
88ef28f787
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue