diff options
author | lain <lain@soykaf.club> | 2020-12-21 12:31:12 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-12-21 12:31:12 +0100 |
commit | ecd39a8fe5adc8004e285c18ba52dffb638999d3 (patch) | |
tree | c37e42aa589081e6a7b731e7a9d0e39df257ca2a | |
parent | 9ba60f70d2076017b610708691f9b88a025c6d97 (diff) | |
download | pleroma-ecd39a8fe5adc8004e285c18ba52dffb638999d3.tar.gz |
Test config: Raise pool size for postgres.
Given all the async tests, this can become a bottleneck.
-rw-r--r-- | config/test.exs | 5 |
1 files changed, 4 insertions, 1 deletions
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 |