change statement time threshold for logging
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
c06809c93e
commit
6c9be945a6
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ export function createPostgresDataSource(config: Config) {
|
||||||
} : false,
|
} : false,
|
||||||
logging: log,
|
logging: log,
|
||||||
logger: log ? new MyCustomLogger() : undefined,
|
logger: log ? new MyCustomLogger() : undefined,
|
||||||
maxQueryExecutionTime: 300,
|
maxQueryExecutionTime: 1000,
|
||||||
entities: entities,
|
entities: entities,
|
||||||
migrations: ['../../migration/*.js'],
|
migrations: ['../../migration/*.js'],
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue