summaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-03-19 10:34:37 +0400
committerLain Soykaf <lain@lain.com>2024-03-19 10:34:37 +0400
commit923803a5332f97a7ad4eaa1d77e38b3a7e6e2367 (patch)
treeaefef399c847d6440239c8b2d52dcc5a35c7f5b1 /config/test.exs
parentcf0aa1238ccd137219253d76355f2dc0f89679ac (diff)
downloadpleroma-923803a5332f97a7ad4eaa1d77e38b3a7e6e2367.tar.gz
pleroma-923803a5332f97a7ad4eaa1d77e38b3a7e6e2367.zip
Tests: Explicitly set db pool size and max cases to the same value.
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/test.exs b/config/test.exs
index 9d752bdf8..80b01932c 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -49,7 +49,7 @@ config :pleroma, Pleroma.Repo,
hostname: System.get_env("DB_HOST") || "localhost",
port: System.get_env("DB_PORT") || "5432",
pool: Ecto.Adapters.SQL.Sandbox,
- pool_size: 50
+ pool_size: System.schedulers_online() * 2
config :pleroma, :dangerzone, override_repo_pool_size: true