chore (backend): increase PostgreSQL default time limit

This commit is contained in:
naskya 2024-02-16 04:17:28 +09:00
parent c511dd774b
commit f61f152a2d
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

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