Skip to content

Commit

Permalink
remove! test: log cluster config
Browse files Browse the repository at this point in the history
  • Loading branch information
firestack committed Oct 7, 2024
1 parent e683913 commit 9427227
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/skate/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ defmodule Skate.Application do

start_data_processes? = Application.get_env(:skate, :start_data_processes)

cluster_config = Application.get_env(:skate, DNSCluster)
Logger.info("DNSCluster config #{inspect(cluster_config)}")

# List all child processes to be supervised
children =
[{Skate.Repo, []}] ++
Expand All @@ -38,7 +41,7 @@ defmodule Skate.Application do
end ++
[
{Phoenix.PubSub, name: Skate.PubSub},
{DNSCluster, Application.get_env(:skate, DNSCluster)},
{DNSCluster, cluster_config},
SkateWeb.Endpoint,
Skate.Migrate,
{Oban, Application.fetch_env!(:skate, Oban)},
Expand Down

0 comments on commit 9427227

Please sign in to comment.