Commit f14db2375b32cfc59a23a0f871352c15d97c4541
1 parent
d37b5efb
Change the timeout value of sql_query_statement_timeout
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
database/db_utils.anubis
| @@ -176,7 +176,7 @@ public define SQLite3Row | @@ -176,7 +176,7 @@ public define SQLite3Row | ||
| 176 | //we try with 60 sec of timeout with | 176 | //we try with 60 sec of timeout with |
| 177 | //println(" executing [" + msg + "]"); | 177 | //println(" executing [" + msg + "]"); |
| 178 | with t0 = unow, | 178 | with t0 = unow, |
| 179 | - if sql_query_statement_timeout(sql_command_stmt, initial_bindings, 120, 100, msg) is | 179 | + if sql_query_statement_timeout(sql_command_stmt, initial_bindings, 5, 100, msg) is |
| 180 | { | 180 | { |
| 181 | error(sql_error) then | 181 | error(sql_error) then |
| 182 | logError("", "DB", db_error(sql_error,msg) /*+ " executing [" + sql_query + "]"*/); | 182 | logError("", "DB", db_error(sql_error,msg) /*+ " executing [" + sql_query + "]"*/); |