diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-08-25 16:14:11 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-08-25 16:14:11 +0000 |
commit | 1f77076d21f16e35b74aa7fa1e088f73b2563107 (patch) | |
tree | 984a08ab89a5c42cf935e245d91a5ee72fb2a0c8 /res/res_odbc.c | |
parent | 848135748f1104647c79a0d23e50c39f0d2cda08 (diff) |
Merged revisions 283561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r283561 | tilghman | 2010-08-25 11:12:43 -0500 (Wed, 25 Aug 2010) | 5 lines
Initialize connect timeout on each time through the loop.
(closes issue #17911)
Reported by: wurstsalat
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@283562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_odbc.c')
-rw-r--r-- | res/res_odbc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c index d2ee97948..a5d4ba913 100644 --- a/res/res_odbc.c +++ b/res/res_odbc.c @@ -780,6 +780,7 @@ static int load_odbc_config(void) pooling = 0; limit = 0; bse = 1; + conntimeout = 10; forcecommit = 0; isolation = SQL_TXN_READ_COMMITTED; for (v = ast_variable_browse(config, cat); v; v = v->next) { |