Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 54e380d4b3b078f5fc876bfd692c07177d9c583a https://github.com/OpenSIPS/opensips/commit/54e380d4b3b078f5fc876bfd692c07177d9c583a Author: Bogdan-Andrei Iancu <bog...@opensips.org> Date: 2020-06-22 (Mon, 22 Jun 2020)
Changed paths: M main.c M modules/alias_db/alias_db.c M modules/auth_db/authdb_mod.c M modules/avpops/avpops.c M modules/b2b_entities/b2b_entities.c M modules/b2b_logic/b2b_logic.c M modules/b2b_sca/b2b_sca.c M modules/cachedb_couchbase/cachedb_couchbase.c M modules/cachedb_memcached/cachedb_memcached.c M modules/cachedb_mongodb/cachedb_mongodb.c M modules/cachedb_redis/cachedb_redis.c M modules/call_center/call_center.c M modules/cgrates/cgrates.c M modules/clusterer/clusterer_mod.c M modules/dialog/dialog.c M modules/dispatcher/dispatcher.c M modules/dns_cache/dns_cache.c M modules/domain/domain_mod.c M modules/domainpolicy/domainpolicy_mod.c M modules/drouting/drouting.c M modules/emergency/emergency_methods.c M modules/freeswitch_scripting/fss_mod.c M modules/group/group_mod.c M modules/h350/h350_mod.c M modules/imc/imc.c M modules/jabber/jabber.c M modules/ldap/ldap_mod.c M modules/msilo/msilo.c M modules/pi_http/pi_http.c M modules/presence/presence.c M modules/presence_xml/presence_xml.c M modules/pua/pua.c M modules/ratelimit/ratelimit.c M modules/rls/rls.c M modules/rtpproxy/rtpproxy.c M modules/sipcapture/sipcapture.c M modules/siptrace/siptrace.c M modules/sngtc/sngtc.c M modules/speeddial/speeddial.c M modules/sql_cacher/sql_cacher.c M modules/userblacklist/userblacklist.c M modules/usrloc/ul_mod.c M modules/xcap/xcap_mod.c Log Message: ----------- The main process (attendant) is no longer running the child_init() The main proc must stay free of any db connections, so it can later fork and child_init() other procs (due auto_scaling). For the modules which were keeping a DB conn open in main proc for later usage, during module destroy, the new approach is to open the conn, on the spot, in the destroy handler. Related to #2003 (cherry picked from commit 3a8f6f1375dc3e3dc8a4a786ee642d4a5fe61069) _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel