diff options
author | Mark Michelson <mmichelson@digium.com> | 2009-01-23 20:56:07 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2009-01-23 20:56:07 +0000 |
commit | 31f027a8c2f9db60ea7a9460f2411263cbcfce8e (patch) | |
tree | c993ccb8a76a827ecb94b8fe106cabf4acd548f3 /configs | |
parent | 9f8ce77660c88b341a3f7dbcce316da70b50e7e2 (diff) |
Merged revisions 170719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r170719 | mmichelson | 2009-01-23 14:55:26 -0600 (Fri, 23 Jan 2009) | 8 lines
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)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/res_odbc.conf.sample | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/res_odbc.conf.sample b/configs/res_odbc.conf.sample index c40b47e3e..f2c6bf015 100644 --- a/configs/res_odbc.conf.sample +++ b/configs/res_odbc.conf.sample @@ -33,6 +33,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 |