[OpenSIPS-Devel] [OpenSIPS/opensips] 095067: Fix reload of timer routes
Bogdan Andrei IANCU
noreply at github.com
Thu Jun 22 06:36:50 UTC 2023
Branch: refs/heads/3.3
Home: https://github.com/OpenSIPS/opensips
Commit: 0950670879d586439448c4e62be7c065c724cde0
https://github.com/OpenSIPS/opensips/commit/0950670879d586439448c4e62be7c065c724cde0
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M cfg_reload.c
M route.c
M route.h
M timer.c
Log Message:
-----------
Fix reload of timer routes
Use a separate, dynamic list of timer tasks that can be update by other proc than the timer itself (which has no info on the script).
The proc doing the reload, upon success, re-generates the list of timer tasks corresponding to the new set of timer routes.
NOTE: a more complex logic is needed when purging the old set of timer tasks, as they may still be under execution - we use here a pending list where we wait their completion.
(cherry picked from commit fce0eaeb241866d0c42db41160ed454be59fd7ed)
More information about the Devel
mailing list