From e85764a76c53eaf215164329c7a9288a5082f12d Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 18 Jan 2020 13:51:16 +0100 Subject: [PATCH] change the timeout in sql_query_xx --- database/db_utils.anubis | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database/db_utils.anubis b/database/db_utils.anubis index 3cd02cb..ffd39f9 100644 --- a/database/db_utils.anubis +++ b/database/db_utils.anubis @@ -1,9 +1,9 @@ /* * - * User: David RENE + * User: David RENÉ * Date: 11/12/2007 * Time: 01:16 - * (c) Calexium + * © David RENÉ * */ @@ -143,7 +143,7 @@ public define SQLite3QueryResult //we try with 30 sec of timeout //println(" executing [" + sql_query + "]"); with t0 = unow, - if sql_query_timeout(db, sql_query, initial_bindings, 120, 100) is + if sql_query_timeout(db, sql_query, initial_bindings, 10, 100) is { error(sql_error) then logError("", "DB", db_error(sql_error,msg) /*+ " executing [" + sql_query + "]"*/); @@ -176,7 +176,7 @@ public define SQLite3Row //we try with 60 sec of timeout with //println(" executing [" + msg + "]"); with t0 = unow, - if sql_query_statement_timeout(sql_command_stmt, initial_bindings, 5, 100, msg) is + if sql_query_statement_timeout(sql_command_stmt, initial_bindings, 10, 100, msg) is { error(sql_error) then logError("", "DB", db_error(sql_error,msg) /*+ " executing [" + sql_query + "]"*/); -- libgit2 0.21.4