Add :exports Oban queue for LiveTable CSV/PDF workers
LiveTable.Workers.CsvExportWorker and PdfExportWorker enqueue on :exports. Prod had 2 pending jobs stuck in `available` with no queue to execute them.
This commit is contained in:
parent
437eeb1c47
commit
bcce4b4de9
2 changed files with 4 additions and 2 deletions
|
|
@ -83,7 +83,8 @@ config :microwaveprop, Oban,
|
||||||
commercial: 2,
|
commercial: 2,
|
||||||
iemre: 10,
|
iemre: 10,
|
||||||
narr: 6,
|
narr: 6,
|
||||||
backfill_enqueue: 1
|
backfill_enqueue: 1,
|
||||||
|
exports: 1
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
{Oban.Plugins.Pruner, max_age: 3600 * 24},
|
{Oban.Plugins.Pruner, max_age: 3600 * 24},
|
||||||
|
|
|
||||||
|
|
@ -180,7 +180,8 @@ if config_env() == :prod do
|
||||||
admin: 1,
|
admin: 1,
|
||||||
nexrad: 2,
|
nexrad: 2,
|
||||||
ionosphere: 1,
|
ionosphere: 1,
|
||||||
space_weather: 1
|
space_weather: 1,
|
||||||
|
exports: 1
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
{Oban.Plugins.Pruner, max_age: 3600 * 24},
|
{Oban.Plugins.Pruner, max_age: 3600 * 24},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue