Add slow query logging

This commit is contained in:
Dragory 2021-09-12 21:47:03 +03:00
parent f733f081e0
commit b33fd8d604
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -33,6 +33,9 @@ module.exports = {
synchronize: false,
connectTimeout: 2000,
logging: ["error", "warn"],
maxQueryExecutionTime: 100,
// Entities
entities: [entities],