Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tvogel committed Nov 4, 2024
1 parent e551a74 commit 9384a95
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ username = System.get_env("DB_USER", "postgres")
password = System.get_env("DB_PASSWORD", "postgres")
database = System.get_env("DB_NAME", "postgres")
port = System.get_env("DB_PORT", "5432")
socket_options = case detect_ip_version.(default_db_host) do
{:ok, ip_version} -> [ ip_version ]
{:error, reason} -> raise "Failed to detect IP version for DB_HOST: #{reason}"
end

socket_options =
case detect_ip_version.(default_db_host) do
{:ok, ip_version} -> [ip_version]
{:error, reason} -> raise "Failed to detect IP version for DB_HOST: #{reason}"
end

slot_name_suffix = System.get_env("SLOT_NAME_SUFFIX")

config :realtime,
Expand Down

0 comments on commit 9384a95

Please sign in to comment.