Update server/Database.js

This commit is contained in:
advplyr 2023-09-22 16:14:00 -05:00 committed by GitHub
parent b668c6e37a
commit b64ecc7c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ class Database {
// Setting QUERY_LOGGING=benchmark will log all Sequelize queries and their execution times, after they run // Setting QUERY_LOGGING=benchmark will log all Sequelize queries and their execution times, after they run
Logger.info(`[Database] Query benchmarking enabled"`) Logger.info(`[Database] Query benchmarking enabled"`)
logging = (query, time) => Logger.dev(`Ran the following query in ${time}ms:\n ${query}`) logging = (query, time) => Logger.dev(`Ran the following query in ${time}ms:\n ${query}`)
benchmark = true; benchmark = true
} }
this.sequelize = new Sequelize({ this.sequelize = new Sequelize({