1
0
Fork 1
mirror of https://example.com synced 2024-11-22 11:26:38 +09:00

chore: increase PostgreSQL time limit

This commit is contained in:
naskya 2023-09-05 00:18:48 +09:00
parent b8ac374da4
commit 1425a6a76a
Signed by: naskya
GPG key ID: 164DFF24E2D40139

View file

@ -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",