[OpenSIPS-Devel] [opensips] Global "db_connect_retries" parameter (#472)

2015-04-20 Thread Liviu Chircu
The "retry-on-connect" problem looks to be solved (need to confirm this) on 
each TCP-oriented database driver. However, retries is often hard-coded (e.g. 
db_mysql/dbase.c +300), or not even implemented at all (db_mysql/my_con.c +109).

Since this is really a common corner-case scenario for any backend, it would be 
nice to simply have a global parameter which dictates the number of attempted 
retries.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/472___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Global "db_connect_retries" parameter (#472)

2015-07-03 Thread Răzvan Crainea
The same thing should be done for db_oracle (e.g. db_oracle/dbase.c + 213) and 
db_postgres (e.g. db_postgres/dbase.c +173). It should probably also be done 
for db_unixodbc (db_unixodbc/dbase.c +118).

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/472#issuecomment-118378390___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Global "db_connect_retries" parameter (#472)

2015-07-10 Thread Eseanu Marius Cristian
We've added module parameter max_db_queries for db_postgres module and  
max_db_queries and max_db_retries module parameters for db_mysql module.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/472#issuecomment-120280068___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel