logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: ecd39a8fe5adc8004e285c18ba52dffb638999d3
parent 9ba60f70d2076017b610708691f9b88a025c6d97
Author: lain <lain@soykaf.club>
Date:   Mon, 21 Dec 2020 12:31:12 +0100

Test config: Raise pool size for postgres.

Given all the async tests, this can become a bottleneck.

Diffstat:

Mconfig/test.exs5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/test.exs b/config/test.exs @@ -47,7 +47,10 @@ config :pleroma, Pleroma.Repo, 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