Local data worker improvements (#66)

* Adds new worker for backfilling data

* Adds backfill job to startup tasks
This commit is contained in:
Kieran authored and GitHub committed 2024-03-10 15:17:15 -07:00
1 parent dc0313d875
commit 09a4bcb36b
5 files changed
+166 -4

No files matched your search

+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