From: lain Date: Mon, 21 Dec 2020 11:31:12 +0000 (+0100) Subject: Test config: Raise pool size for postgres. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=ecd39a8fe5adc8004e285c18ba52dffb638999d3;p=akkoma Test config: Raise pool size for postgres. Given all the async tests, this can become a bottleneck. --- diff --git a/config/test.exs b/config/test.exs index 397bc688e..c4fd5c52f 100644 --- 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