]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add notes to the idlecheck explanation in res_odbc.conf.sample
authorMark Michelson <mmichelson@digium.com>
Fri, 23 Jan 2009 20:55:26 +0000 (20:55 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 23 Jan 2009 20:55:26 +0000 (20:55 +0000)
(closes issue #14319)
Reported by: klaus3000
Patches:
      patch_idlecheck_res_odbc.conf.sample.txt uploaded by klaus3000 (license 65)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@170719 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/res_odbc.conf.sample

index 4b5fe428fa9fa6f77b5b8376d95f4e8e0a840faf..019072468f0a5086a46e14fe7d827795606a1caf 100644 (file)
@@ -27,6 +27,11 @@ pre-connect => yes
 ; 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