mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-09-18 21:38:07 +00:00
merge: use a *very* long statement_timeout for migrations (!1132)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1132 Approved-by: Hazelnoot <acomputerdog@gmail.com> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
commit
c4c6aea939
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ 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,
|
||||
statement_timeout: (config.db.extra?.statement_timeout ?? 1000 * 10) * 100,
|
||||
},
|
||||
entities: entities,
|
||||
migrations: ['migration/*.js'],
|
||||
|
|
Loading…
Add table
Reference in a new issue