From 1425a6a76a3f00a3ee37d54e115315271fe02629 Mon Sep 17 00:00:00 2001 From: naskya Date: Tue, 5 Sep 2023 00:18:48 +0900 Subject: [PATCH] chore: increase PostgreSQL time limit --- packages/backend/src/db/postgre.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/db/postgre.ts b/packages/backend/src/db/postgre.ts index 10ea5b15f..89784650a 100644 --- a/packages/backend/src/db/postgre.ts +++ b/packages/backend/src/db/postgre.ts @@ -193,7 +193,7 @@ export const db = new DataSource({ password: config.db.pass, database: config.db.db, extra: { - statement_timeout: 1000 * 10, + statement_timeout: 1000 * 30, ...config.db.extra, }, synchronize: process.env.NODE_ENV === "test",