aboutsummaryrefslogtreecommitdiffstats
path: root/configs/res_odbc.conf.sample
diff options
context:
space:
mode:
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