[Enhancement] Support specifying count of yt-dlp workers per-queue (#355)

* Updated certain Oban queues to have a configurable limit

* Updated README
This commit is contained in:
Kieran
2024-08-14 12:37:24 -07:00
committed by GitHub
parent fd20ac5d84
commit 8e9f02c807
4 changed files with 33 additions and 20 deletions
-10
View File
@@ -57,16 +57,6 @@ config :pinchflat, Oban,
{"0 1 * * *", Pinchflat.Downloading.MediaRetentionWorker},
{"0 2 * * *", Pinchflat.Downloading.MediaQualityUpgradeWorker}
]}
],
# TODO: consider making this an env var or something?
queues: [
default: 10,
fast_indexing: 6,
media_indexing: 2,
media_collection_indexing: 2,
media_fetching: 2,
local_data: 8,
remote_metadata: 4
]
# Configures the mailer