[OpenSIPS-Devel] [OpenSIPS/opensips] 563c58: domain: init db connection in all processes
Răzvan Crainea
noreply at github.com
Fri Jun 21 09:24:14 UTC 2024
Branch: refs/heads/3.5
Home: https://github.com/OpenSIPS/opensips
Commit: 563c58f87b4156c1b810cdc1b1e0c42eda95a898
https://github.com/OpenSIPS/opensips/commit/563c58f87b4156c1b810cdc1b1e0c42eda95a898
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