From 6c74b875f3f125ca31b3299af90078cee8873c36 Mon Sep 17 00:00:00 2001 From: x032205 Date: Mon, 4 Aug 2025 10:46:10 -0400 Subject: [PATCH] up to 10 mins --- backend/src/ee/services/audit-log/audit-log-dal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/ee/services/audit-log/audit-log-dal.ts b/backend/src/ee/services/audit-log/audit-log-dal.ts index 0e6384625..b58f58164 100644 --- a/backend/src/ee/services/audit-log/audit-log-dal.ts +++ b/backend/src/ee/services/audit-log/audit-log-dal.ts @@ -194,7 +194,7 @@ export const auditLogDALFactory = (db: TDbClient) => { if (tx) { await runPrune(tx); } else { - const QUERY_TIMEOUT_MS = 3 * 60 * 1000; // 3 minutes + const QUERY_TIMEOUT_MS = 10 * 60 * 1000; // 10 minutes await db.transaction(async (trx) => { await trx.raw(`SET statement_timeout = ${QUERY_TIMEOUT_MS}`); await runPrune(trx);