diff --git a/config/runtime.exs b/config/runtime.exs index 2d0af77a..594442f5 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -129,7 +129,8 @@ if config_env() == :prod do url: database_url, pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"), socket_options: maybe_ipv6, - ssl: [cacerts: :public_key.cacerts_get()] + ssl: [cacerts: :public_key.cacerts_get()], + connect_timeout: 30_000 config :zoonk, ZoonkWeb.Endpoint, url: [host: host, port: 443, scheme: "https"], @@ -144,4 +145,4 @@ if config_env() == :prod do secret_key_base: secret_key_base config :zoonk, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY") -end +end \ No newline at end of file