Commit e85764a76c53eaf215164329c7a9288a5082f12d

Authored by David RENÉ
1 parent 2daa8a84

change the timeout in sql_query_xx

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
database/db_utils.anubis
1 1 /*
2 2 *
3   - * User: David RENE
  3 + * User: David RENÉ
4 4 * Date: 11/12/2007
5 5 * Time: 01:16
6   - * (c) Calexium
  6 + * © David RENÉ
7 7 *
8 8 */
9 9  
... ... @@ -143,7 +143,7 @@ public define SQLite3QueryResult
143 143 //we try with 30 sec of timeout
144 144 //println(" executing [" + sql_query + "]");
145 145 with t0 = unow,
146   - if sql_query_timeout(db, sql_query, initial_bindings, 120, 100) is
  146 + if sql_query_timeout(db, sql_query, initial_bindings, 10, 100) is
147 147 {
148 148 error(sql_error) then
149 149 logError("", "DB", db_error(sql_error,msg) /*+ " executing [" + sql_query + "]"*/);
... ... @@ -176,7 +176,7 @@ public define SQLite3Row
176 176 //we try with 60 sec of timeout with
177 177 //println(" executing [" + msg + "]");
178 178 with t0 = unow,
179   - if sql_query_statement_timeout(sql_command_stmt, initial_bindings, 5, 100, msg) is
  179 + if sql_query_statement_timeout(sql_command_stmt, initial_bindings, 10, 100, msg) is
180 180 {
181 181 error(sql_error) then
182 182 logError("", "DB", db_error(sql_error,msg) /*+ " executing [" + sql_query + "]"*/);
... ...