chore: adjust db conn to use injected env var
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
2024-09-25 10:22:34 +00:00
parent 067eb2ae0d
commit dd623a0547
2 changed files with 12 additions and 4 deletions

View File

@@ -2,7 +2,8 @@ import Config
config :wabanex, Wabanex.Repo,
database: "wabanex_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2
config :wabanex, WabanexWeb.Endpoint,
http: [port: 4002],