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, password: config.db.pass,
database: config.db.db, database: config.db.db,
extra: { extra: {
statement_timeout: 1000 * 10, statement_timeout: 1000 * 30,
...config.db.extra, ...config.db.extra,
}, },
synchronize: process.env.NODE_ENV === "test", synchronize: process.env.NODE_ENV === "test",