Skip to content

Commit 4268ce2

Browse files
committed
fix: ecto options
1 parent cb39410 commit 4268ce2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

swapify_api/config/runtime.exs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ if config_env() == :prod do
3030
For example: ecto://USER:PASS@HOST/DATABASE
3131
"""
3232

33-
maybe_ipv6 = if System.get_env("ECTO_IPV6") in ~w(true 1), do: [:inet6], else: []
34-
3533
config :swapify_api, SwapifyApi.Repo,
3634
url: database_url,
3735
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
38-
socket_options: maybe_ipv6
3936

4037
secret_key_base =
4138
System.get_env("SECRET_KEY_BASE") ||

0 commit comments

Comments
 (0)