commit: e628d00a81ce18eaa54c6efb1e48a31d57216368
parent 3aed111a42472018f01899714305d4f3a5cbc911
Author: Mark Felder <feld@feld.me>
Date: Tue, 18 Jun 2024 15:25:17 +0000
Disable Ecto logging in tests
The debug logs are very noisy and can be enabled during analysis of a specific error believed to be SQL-related
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config/test.exs b/config/test.exs
@@ -49,7 +49,8 @@ config :pleroma, Pleroma.Repo,
hostname: System.get_env("DB_HOST") || "localhost",
port: System.get_env("DB_PORT") || "5432",
pool: Ecto.Adapters.SQL.Sandbox,
- pool_size: System.schedulers_online() * 2
+ pool_size: System.schedulers_online() * 2,
+ log: false
config :pleroma, :dangerzone, override_repo_pool_size: true