summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-12-21 12:31:12 +0100
committerlain <lain@soykaf.club>2020-12-21 12:31:12 +0100
commitecd39a8fe5adc8004e285c18ba52dffb638999d3 (patch)
treec37e42aa589081e6a7b731e7a9d0e39df257ca2a /config
parent9ba60f70d2076017b610708691f9b88a025c6d97 (diff)
Test config: Raise pool size for postgres.
Given all the async tests, this can become a bottleneck.
Diffstat (limited to 'config')
-rw-r--r--config/test.exs5
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