Skip to content

Commit ea7432e

Browse files
committed
add task supervisor for bg jobs
1 parent c55fc16 commit ea7432e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/algora/application.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ defmodule Algora.Application do
2222
{Finch, name: Algora.Finch},
2323
# Start ChromicPDF for contract PDF generation
2424
{ChromicPDF, Application.get_all_env(:chromic_pdf)},
25+
# Task supervisor for background jobs
26+
{Task.Supervisor, name: Algora.TaskSupervisor},
2527
Algora.Github.TokenPool,
2628
Algora.Github.Poller.RootSupervisor,
2729
Algora.ScreenshotQueue,

0 commit comments

Comments
 (0)