mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-22 00:07:52 +01:00
Update server/Database.js
This commit is contained in:
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({
|
||||||
|
Loading…
Reference in New Issue
Block a user