Local data worker improvements (#66)

* Adds new worker for backfilling data

* Adds backfill job to startup tasks
This commit is contained in:
Kieran
2024-03-10 15:17:15 -07:00
committed by GitHub
parent e1f8e94686
commit 19ec13e64c
5 changed files with 166 additions and 4 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ defmodule Pinchflat.Application do
children = [
PinchflatWeb.Telemetry,
Pinchflat.Repo,
# {Task, &run_startup_tasks/0},
Pinchflat.StartupTasks,
# Must be before startup tasks
{Oban, Application.fetch_env!(:pinchflat, Oban)},
Pinchflat.StartupTasks,
{DNSCluster, query: Application.get_env(:pinchflat, :dns_cluster_query) || :ignore},
{Phoenix.PubSub, name: Pinchflat.PubSub},
# Start the Finch HTTP client for sending emails