[asterisk-commits] mmichelson: branch 1.4 r170719 - /branches/1.4/configs/res_odbc.conf.sample
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 23 14:55:27 CST 2009
Author: mmichelson
Date: Fri Jan 23 14:55:26 2009
New Revision: 170719
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170719
Log:
Add notes to the idlecheck explanation in res_odbc.conf.sample
(closes issue #14319)
Reported by: klaus3000
Patches:
patch_idlecheck_res_odbc.conf.sample.txt uploaded by klaus3000 (license 65)
Modified:
branches/1.4/configs/res_odbc.conf.sample
Modified: branches/1.4/configs/res_odbc.conf.sample
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/configs/res_odbc.conf.sample?view=diff&rev=170719&r1=170718&r2=170719
==============================================================================
--- branches/1.4/configs/res_odbc.conf.sample (original)
+++ branches/1.4/configs/res_odbc.conf.sample Fri Jan 23 14:55:26 2009
@@ -27,6 +27,11 @@
; On some databases, the connection times out and a reconnection will be
; necessary. This setting configures the amount of time a connection
; may sit idle (in seconds) before a reconnection will be attempted.
+; Note: The reconnection is not done in the background, but is triggered by
+; a new query. Thus, if you set idlecheck => X, every time you perform a
+; query res_odbc will check how long these connection was idle, and if it was
+; idle for more than X seconds it will close the current connection and
+; establish a new one even if the current connection is still working.
;idlecheck => 3600
; Certain servers, such as MS SQL Server and Sybase use the TDS protocol, which
More information about the asterisk-commits
mailing list