Tests: Explicitly set db pool size and max cases to the same value.

This commit is contained in:
Lain Soykaf 2024-03-19 10:34:37 +04:00
commit 923803a533
2 changed files with 3 additions and 1 deletions

View file

@ -49,7 +49,7 @@ 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: 50
pool_size: System.schedulers_online() * 2
config :pleroma, :dangerzone, override_repo_pool_size: true