diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-23 20:55:26 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-23 20:55:26 +0000 |
commit | 21cf6558f08df0aad2f46924b3a369f0056576e9 (patch) | |
tree | b1a477ee77fd4c31edbe0b2fd1d81d8acb53759d /configs | |
parent | 16f99ae7027e75be55601a9d82218f18ad0a621e (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@170719 f38db490-d61c-443f-a65b-d21fe96a405b
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 4b5fe428f..019072468 100644 --- a/configs/res_odbc.conf.sample +++ b/configs/res_odbc.conf.sample @@ -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 |