[OpenSIPS-Devel] [OpenSIPS/opensips] 481c12: domain: init db connection in all processes
Răzvan Crainea
noreply at github.com
Fri Jun 21 09:24:23 UTC 2024
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 481c12df899495d8288c87fc30de2053d1a26149
https://github.com/OpenSIPS/opensips/commit/481c12df899495d8288c87fc30de2053d1a26149
Author: Razvan Crainea <razvan at opensips.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M modules/domain/domain_mod.c
Log Message:
-----------
domain: init db connection in all processes
If the db_mode says we should cache the dialog table and only reload it
in MI proceeses, the module would not initialize the db connection for
SIP workers/timers. This would prevent the mi_script from running the
mi() commands.
This fix initializes the db connection in all proceses, thus enabling
the reload behavior from any process.
(cherry picked from commit e0d0f6b8fbfdabb8c7fd6e0a9307fb8df0caefe5)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list