Add slow query logging
This commit is contained in:
parent
f733f081e0
commit
b33fd8d604
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ module.exports = {
|
||||||
synchronize: false,
|
synchronize: false,
|
||||||
connectTimeout: 2000,
|
connectTimeout: 2000,
|
||||||
|
|
||||||
|
logging: ["error", "warn"],
|
||||||
|
maxQueryExecutionTime: 100,
|
||||||
|
|
||||||
// Entities
|
// Entities
|
||||||
entities: [entities],
|
entities: [entities],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue