fix: increase DBConnection queue_target/queue_interval for test sandbox
Some checks failed
Build and Push / Build and Push Docker Image (push) Failing after 12m57s

198+ concurrent async tests overwhelm the default 50ms queue_target
with ownership pool checkouts, causing frequent :queue_timeout errors.
The 500ms/5000ms values are standard for high-concurrency test suites.
This commit is contained in:
Graham McIntire 2026-08-04 14:41:34 -05:00
parent 14a3ed08bd
commit d5a8425b8b

View file

@ -36,6 +36,8 @@ config :microwaveprop, Microwaveprop.Repo,
database: "microwaveprop_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: DBConnection.Ownership,
pool_size: System.schedulers_online() * 2,
queue_target: 500,
queue_interval: 5000,
ownership_timeout: 60_000,
timeout: 60_000