Skip to content

Commit

Permalink
Disable Tenants.Reconciler and UpdateCampaign.Resumer
Browse files Browse the repository at this point in the history
They would crash the application startup until the Ash porting is complete.
They're going to be re-enabled once we reimplement the calls they need.

Signed-off-by: Riccardo Binetti <[email protected]>
  • Loading branch information
rbino committed Dec 13, 2023
1 parent c90794d commit cf01e54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 5 additions & 4 deletions backend/lib/edgehog/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ defmodule Edgehog.Application do
# Start the UpdateCampaigns supervisor
Edgehog.UpdateCampaigns.Supervisor,
# Start the Endpoint (http/https)
EdgehogWeb.Endpoint,
# Start the Tenant Reconciler Supervisor
{Edgehog.Tenants.Reconciler.Supervisor,
tenant_to_trigger_url_fun: tenant_to_trigger_url_fun}
EdgehogWeb.Endpoint
# TODO: enable this back after Ash porting is complete
# # Start the Tenant Reconciler Supervisor
# {Edgehog.Tenants.Reconciler.Supervisor,
# tenant_to_trigger_url_fun: tenant_to_trigger_url_fun}
]

# See https://hexdocs.pm/elixir/Supervisor.html
Expand Down
4 changes: 3 additions & 1 deletion backend/lib/edgehog/update_campaigns/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ defmodule Edgehog.UpdateCampaigns.Supervisor do
end

defp children(_mix_env) do
@base_children ++ [Resumer]
# TODO: enable this back after Ash porting is complete
# @base_children ++ [Resumer]
@base_children
end
end

0 comments on commit cf01e54

Please sign in to comment.