Disable Oban queues in mix propagation_grid to prevent backfill noise

This commit is contained in:
Graham McIntire 2026-03-30 17:36:32 -05:00
parent f6b1f751d4
commit 9c504acb67
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -6,6 +6,17 @@ defmodule Mix.Tasks.PropagationGrid do
@impl Mix.Task
def run(_args) do
# Pause all Oban queues so backfill jobs don't run alongside the grid fetch
Application.put_env(
:microwaveprop,
Oban,
Keyword.put(
Application.get_env(:microwaveprop, Oban, []),
:queues,
false
)
)
Mix.Task.run("app.start")
IO.puts("Starting propagation grid computation...")