projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba60f7
)
Test config: Raise pool size for postgres.
author
lain
<lain@soykaf.club>
Mon, 21 Dec 2020 11:31:12 +0000
(12:31 +0100)
committer
lain
<lain@soykaf.club>
Mon, 21 Dec 2020 11:31:12 +0000
(12:31 +0100)
Given all the async tests, this can become a bottleneck.
config/test.exs
patch
|
blob
|
history
diff --git
a/config/test.exs
b/config/test.exs
index 397bc688ec52cbf5fc9e755614e3135f0fa1fb64..c4fd5c52f141cbb5be774b8568d0724b7b45f774 100644
(file)
--- 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