Enrich MonitorAlbum response, prevent duplicate downloads, recover orphaned jobs on startup

This commit is contained in:
Alexander
2026-05-09 20:01:53 +02:00
parent 5257ed0f1b
commit cca404bcc0
5 changed files with 133 additions and 7 deletions
+2
View File
@@ -113,6 +113,8 @@ func setupRiver(ctx context.Context, cfg config.Config, db *database.DB) *riverS
log.Info().Msg("River queue started")
pollWorker.RecoverOrphanedDownloads(ctx)
return &riverSetup{
client: riverClient,
cacheRefreshWorker: cacheWorker,