From 809a23e1e8f18b7fd4cea337ffa85618843356bc Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Tue, 17 Sep 2024 09:51:19 +0300 Subject: [PATCH] permissions: connect to db from each process Many thanks to Wayne Davies from Five9 for reporting it! (cherry picked from commit 4d79a71ee77ae020b9f1440bff4439257bed014a) --- modules/permissions/permissions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/permissions/permissions.c b/modules/permissions/permissions.c index 55012c4db64..acca8621b48 100644 --- a/modules/permissions/permissions.c +++ b/modules/permissions/permissions.c @@ -628,13 +628,13 @@ static int mod_init(void) static int child_init(int rank) { - return 0; + return mi_init_address(); } static int mi_address_child_init(void) { - return mi_init_address(); + return 0; } /*