chore: Improve perf of server tests (#5785)

This commit is contained in:
Tom Moor
2023-09-06 07:14:49 -04:00
committed by GitHub
parent a724a21c21
commit 3eb947e9a5
69 changed files with 2045 additions and 1551 deletions

View File

@@ -15,7 +15,8 @@ const url =
"postgres://localhost:5432/outline";
export const sequelize = new Sequelize(url, {
logging: (msg) => Logger.debug("database", msg),
logging: (msg) =>
process.env.DEBUG?.includes("database") && Logger.debug("database", msg),
typeValidation: true,
dialectOptions: {
ssl: