mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Allow setting postgres extra options via envvar
This commit is contained in:
parent
9cc046e3a2
commit
a745e72ce4
1 changed files with 3 additions and 0 deletions
|
|
@ -18,4 +18,7 @@ export const appDataSource = new DataSource({
|
|||
logger: new CustomTypeOrmLogger(['query', 'info']),
|
||||
connectTimeoutMS: 40000, // 40 seconds
|
||||
maxQueryExecutionTime: 10000, // 10 seconds
|
||||
extra: {
|
||||
options: process.env.PG_EXTRA_OPTIONS,
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue