Increase queue limits

Queues are inherently rate-limited by the http APIs, so this change just
reduces waiting/execution times for other non-http operations done
inside the job body.
This commit is contained in:
Claudio Ortolina
2026-06-01 08:55:31 +03:00
parent e36d80818e
commit 9b019945fb
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ config :phoenix, :json_library, JSON
config :music_library, Oban,
engine: Oban.Engines.Lite,
queues: [default: 10, heavy_writes: 1, music_brainz: 1, discogs: 1, wikipedia: 1, last_fm: 1],
queues: [default: 10, heavy_writes: 1, music_brainz: 3, discogs: 3, wikipedia: 3, last_fm: 3],
repo: MusicLibrary.BackgroundRepo
# Timing metrics (execution time, queue time) are stored in space-efficient
+4 -4
View File
@@ -191,10 +191,10 @@ HTTP 429 into `:rate_limit` vs `:auth_error` by reading the body `code`
| -------------- | ----------- | ------------------------------------------------------------------- |
| `default` | 10 | General async tasks |
| `heavy_writes` | 1 | DB-intensive or serialized operations |
| `music_brainz` | 1 | MusicBrainz calls (rate-limited at Req layer via `Req.RateLimiter`) |
| `discogs` | 1 | Discogs calls (rate-limited at Req layer via `Req.RateLimiter`) |
| `wikipedia` | 1 | Wikipedia calls |
| `last_fm` | 1 | Last.fm calls (rate-limited at Req layer via `Req.RateLimiter`) |
| `music_brainz` | 3 | MusicBrainz calls (rate-limited at Req layer via `Req.RateLimiter`) |
| `discogs` | 3 | Discogs calls (rate-limited at Req layer via `Req.RateLimiter`) |
| `wikipedia` | 3 | Wikipedia calls |
| `last_fm` | 3 | Last.fm calls (rate-limited at Req layer via `Req.RateLimiter`) |
### Plugins (prod)