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 @@ config :pleroma, Pleroma.Repo,
password: "postgres", password: "postgres",
database: "pleroma_test", database: "pleroma_test",
hostname: System.get_env("DB_HOST") || "localhost", 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 # Reduce hash rounds for testing
config :pbkdf2_elixir, rounds: 1 config :pbkdf2_elixir, rounds: 1