Skip to content

Commit af95699

Browse files
committed
fix: ecto options
1 parent cb39410 commit af95699

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

swapify_api/config/runtime.exs

Lines changed: 1 addition & 4 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,
37-
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
38-
socket_options: maybe_ipv6
35+
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
3936

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

0 commit comments

Comments
 (0)