Disable propagation grid worker and freshness monitor in dev for backfill
This commit is contained in:
parent
e028de51ae
commit
2b1fd6129d
1 changed files with 15 additions and 0 deletions
|
|
@ -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}
|
||||
]}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue