mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
revert postgres connection timeout
This commit is contained in:
parent
f5205c4b1b
commit
1adbed9876
1 changed files with 2 additions and 0 deletions
|
|
@ -16,4 +16,6 @@ export const appDataSource = new DataSource({
|
|||
subscribers: [__dirname + '/events/**/*{.js,.ts}'],
|
||||
namingStrategy: new SnakeNamingStrategy(),
|
||||
logger: new CustomTypeOrmLogger(['query', 'info']),
|
||||
connectTimeoutMS: 40000, // 40 seconds
|
||||
maxQueryExecutionTime: 10000, // 10 seconds
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue