Disable propagation grid worker and freshness monitor in dev for backfill

This commit is contained in:
Graham McIntire 2026-03-31 17:27:59 -05:00
parent e028de51ae
commit 2b1fd6129d
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -93,3 +93,18 @@ config :phoenix_live_view,
# Disable swoosh api client as it is only required for production adapters.
config :swoosh, :api_client, false
# Disable propagation grid worker and freshness monitor in dev to let backfill run
config :microwaveprop, start_freshness_monitor: false
config :microwaveprop, Oban,
queues: [solar: 1, weather: 20, enqueue: 1, hrrr: 5, terrain: 4, commercial: 2, iemre: 10],
plugins: [
{Oban.Plugins.Pruner, max_age: 3600 * 24},
{Oban.Plugins.Lifeline, rescue_after: to_timeout(minute: 30)},
{Oban.Plugins.Cron,
crontab: [
{"0 8 * * *", Microwaveprop.Workers.SolarIndexWorker},
{"*/30 * * * *", Microwaveprop.Workers.QsoWeatherEnqueueWorker}
]}
]