[asterisk-bugs] [Asterisk 0011798]: [patch] Idle check for res_odbc

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jan 19 12:20:28 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11798 
====================================================================== 
Reported By:                Corydon76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11798
Category:                   Resources/res_odbc
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 98978 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-19-2008 12:03 CST
Last Modified:              01-19-2008 12:20 CST
====================================================================== 
Summary:                    [patch] Idle check for res_odbc
Description: 
When a database connection remains idle for too long, it may sometimes
become stale.  This patch makes Asterisk more proactive in the approach, in
that we can set a max idle time, at which res_odbc will automatically
reconnect instead of waiting for a query to fail first.  This should
improve some performance, as well as eliminating ugly logs about the
database connection having timed out.
====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 01-19-08 12:20  
---------------------------------------------------------------------- 
I took out the acl.c changes that are from corydon's local tree and dont
belong to this one.
Also fixed spelling error in config file.

Compiles and runs. Will report tomorrow if it's still running. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-19-08 12:20  mvanbaak       Note Added: 0080903                          
======================================================================




More information about the asterisk-bugs mailing list