We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb39410 commit af95699Copy full SHA for af95699
swapify_api/config/runtime.exs
@@ -30,12 +30,9 @@ if config_env() == :prod do
30
For example: ecto://USER:PASS@HOST/DATABASE
31
"""
32
33
- maybe_ipv6 = if System.get_env("ECTO_IPV6") in ~w(true 1), do: [:inet6], else: []
34
-
35
config :swapify_api, SwapifyApi.Repo,
36
url: database_url,
37
- pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
38
- socket_options: maybe_ipv6
+ pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
39
40
secret_key_base =
41
System.get_env("SECRET_KEY_BASE") ||
0 commit comments