Skip to content

Commit 35a011f

Browse files
committed
add internal GenServers in root supervisor
1 parent ee76c99 commit 35a011f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/algora/application.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ defmodule Algora.Application do
2828
AlgoraWeb.Endpoint,
2929
Algora.Stargazer,
3030
TwMerge.Cache
31-
]
31+
] ++ Algora.Cloud.start()
3232

3333
children =
3434
case Application.get_env(:algora, :cloudflare_tunnel) do
@@ -37,8 +37,6 @@ defmodule Algora.Application do
3737
tunnel -> children ++ [{Algora.Tunnel, tunnel}]
3838
end
3939

40-
Algora.Cloud.start()
41-
4240
# See https://hexdocs.pm/elixir/Supervisor.html
4341
# for other strategies and supported options
4442
opts = [strategy: :one_for_one, name: Algora.Supervisor]

0 commit comments

Comments
 (0)