Greatly increase timeouts

This commit is contained in:
Liam 2023-03-27 21:36:20 -04:00 committed by byte[]
parent 8b44b0ed0a
commit d5215e38ed

View file

@ -104,7 +104,9 @@ if config_env() != :test do
# Database config
config :philomena, Philomena.Repo,
url: System.fetch_env!("DATABASE_URL"),
pool_size: String.to_integer(System.get_env("POOL_SIZE", "16"))
pool_size: String.to_integer(System.get_env("POOL_SIZE", "16")),
timeout: 60_000,
ownership_timeout: 60_000
end
if config_env() == :prod do