diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/database.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index d59fd3655..c5a385361 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -64,7 +64,7 @@ const sequelize = new Sequelize(dbname, username, password, { | |||
64 | 64 | ||
65 | logging: (message: string, benchmark: number) => { | 65 | logging: (message: string, benchmark: number) => { |
66 | let newMessage = message | 66 | let newMessage = message |
67 | if (benchmark !== undefined) { | 67 | if (isTestInstance() === true && benchmark !== undefined) { |
68 | newMessage += ' | ' + benchmark + 'ms' | 68 | newMessage += ' | ' + benchmark + 'ms' |
69 | } | 69 | } |
70 | 70 | ||