1
0
mirror of https://github.com/advplyr/audiobookshelf.git synced 2025-07-09 18:57:06 +02:00

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

@ -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({