feat: add Task.Supervisor to supervision tree
Add Task.Supervisor for supervised async task execution in cycle generation.
This commit is contained in:
parent
3035869fc8
commit
961261eff2
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ defmodule Mv.Application do
|
||||||
children = [
|
children = [
|
||||||
MvWeb.Telemetry,
|
MvWeb.Telemetry,
|
||||||
Mv.Repo,
|
Mv.Repo,
|
||||||
|
{Task.Supervisor, name: Mv.TaskSupervisor},
|
||||||
{DNSCluster, query: Application.get_env(:mv, :dns_cluster_query) || :ignore},
|
{DNSCluster, query: Application.get_env(:mv, :dns_cluster_query) || :ignore},
|
||||||
{Phoenix.PubSub, name: Mv.PubSub},
|
{Phoenix.PubSub, name: Mv.PubSub},
|
||||||
{AshAuthentication.Supervisor, otp_app: :my},
|
{AshAuthentication.Supervisor, otp_app: :my},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue