Enrich MonitorAlbum response, prevent duplicate downloads, recover orphaned jobs on startup
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user