hdikme commented on this pull request.
> @@ -149,6 +152,25 @@ void check_dbs(unsigned int ticks, void *param){
lock_release(list_lock);
}
+void check_master_db(int dbm_write_default) {
+ if(mdb_availability_control) {
+ if(mdb.write.dbh){
There is unfortunately no other function other than "db_init_f init;" that
could be used to check if the master db is available. Therefore each time a new
mdb handler is created from the scratch and this requires first closing the
existing mdb handler.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1529#discussion_r189955488_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev