aboutsummaryrefslogtreecommitdiffstats
path: root/configs/res_odbc.conf.sample
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-21 18:15:57 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-21 18:15:57 +0000
commit5e9b43a632117c8e48f8fb9b598ec26588c387f2 (patch)
tree782111d3a563fd00fa4d158650f8b27edfbf3aaa /configs/res_odbc.conf.sample
parent6a5fce00fcee9dc7af673dc7209e2c81bf72c313 (diff)
Merged revisions 99341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r99341 | tilghman | 2008-01-21 12:11:07 -0600 (Mon, 21 Jan 2008) | 8 lines Permit the user to specify number of seconds that a connection may remain idle, which fixes a crash on reconnect with the MyODBC driver. (closes issue #11798) Reported by: Corydon76 Patches: 20080119__res_odbc__idlecheck.diff.txt uploaded by Corydon76 (license 14) Tested by: mvanbaak ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99350 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/res_odbc.conf.sample')
-rw-r--r--configs/res_odbc.conf.sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/res_odbc.conf.sample b/configs/res_odbc.conf.sample
index 2fd9aa702..097849dd7 100644
--- a/configs/res_odbc.conf.sample
+++ b/configs/res_odbc.conf.sample
@@ -27,6 +27,11 @@ dsn => MySQL-asterisk
username => myuser
password => mypass
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.
+;idlecheck => 3600
; Certain servers, such as MS SQL Server and Sybase use the TDS protocol, which
; limits the number of active queries per connection to 1. By setting up pools