Test config: Raise pool size for postgres.

Given all the async tests, this can become a bottleneck.
This commit is contained in:
lain 2020-12-21 12:31:12 +01:00
parent 9ba60f70d2
commit ecd39a8fe5

View file

@ -47,7 +47,10 @@
password: "postgres",
database: "pleroma_test",
hostname: System.get_env("DB_HOST") || "localhost",
pool: Ecto.Adapters.SQL.Sandbox
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 50
config :pleroma, :dangerzone, override_repo_pool_size: true
# Reduce hash rounds for testing
config :pbkdf2_elixir, rounds: 1