fix: remove statement_timeout from ormconfig.js
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Emerald 2024-04-09 23:40:35 -04:00
parent 8cd2ba1161
commit f0bac92ed1
Signed by: emerald
GPG Key ID: 420C9E1863CCB30F
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ export default new DataSource({
extra: {
...config.db.extra,
// migrations may be very slow, give them longer to run (that 10*1000 comes from postgres.ts)
statement_timeout: (config.db.extra?.statement_timeout ?? 1000 * 10) * 10,
// removed for compatibility with digital ocean s3
// statement_timeout: (config.db.extra?.statement_timeout ?? 1000 * 10) * 10,
},
entities: entities,
migrations: ['migration/*.js'],