Skip to content

Commit

Permalink
⚡ add supervisor to snake manager
Browse files Browse the repository at this point in the history
  • Loading branch information
RustySnek committed May 25, 2024
1 parent f671e0a commit 1a555ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/elixirus/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ defmodule Elixirus.Application do
ElixirusWeb.Telemetry,
Elixirus.Healthcheck.HealthSupervisor,
{Elixirus.Python.SnakeSupervisor, []},
{Elixirus.Python.SnakeManager, []},
Supervisor.child_spec({Elixirus.Python.SnakeManager, []},
id: Elixirus.Python.SnakeManager,
restart: :permanent
),
Supervisor.child_spec({TokenWorker, :ets.new(:token_storage, [:set, :public])},
id: TokenWorker,
restart: :permanent
Expand Down

0 comments on commit 1a555ef

Please sign in to comment.