Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7b62f2453bd226ec08b4f229017fa953d3876681 https://github.com/OpenSIPS/opensips/commit/7b62f2453bd226ec08b4f229017fa953d3876681 Author: Bogdan-Andrei Iancu <bog...@opensips.org> Date: 2020-03-20 (Fri, 20 Mar 2020)
Changed paths: M main.c M modules/alias_db/alias_db.c M modules/auth_db/authdb_mod.c M modules/auth_jwt/authjwt_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/qrouting/qrouting.c M modules/ratelimit/ratelimit.c M modules/rls/rls.c M modules/rtpproxy/rtpproxy.c M modules/sipcapture/sipcapture.c M modules/sngtc/sngtc.c M modules/speeddial/speeddial.c M modules/sql_cacher/sql_cacher.c M modules/tracer/tracer.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 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel