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
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:
parent
14a3ed08bd
commit
d5a8425b8b
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue