From 4d896d14aa158a1e62343b46d33f64c090d95652 Mon Sep 17 00:00:00 2001 From: jdonis Date: Tue, 28 Jan 2025 23:46:08 -0500 Subject: [PATCH] timeout --- config/prod.exs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/prod.exs b/config/prod.exs index f366dbe69..caac922a9 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -19,6 +19,8 @@ config :challenge_gov, Web.Endpoint, config :challenge_gov, ChallengeGov.Repo, url: System.get_env("DATABASE_URL"), ssl: if(System.get_env("DATABASE_SSL") == "true", do: [verify: :verify_none], else: false), + pool_timeout: :infinity, + timeout: :infinity, pool_size: String.to_integer(System.get_env("POOL_SIZE") || "15"), loggers: [{LoggerJSON.Ecto, :log, [:info]}]