Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Run fast indexing on source creation and at higher priority #583

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

kieraneglin
Copy link
Owner

@kieraneglin kieraneglin commented Jan 21, 2025

What's new?

N/A

What's changed?

  • Sources now kick off fast indexing immediately when created (if that option is checked)
    • This allows the first handful of media items to get enqueued for download on source creation even if there are long-running indexing tasks going on in the background
  • Media downloads queued up by fast indexing have a higher priority than downloads from slow indexing
  • Related to [Triage] Restarts break ongoing initial indexings #573 (comment)

What's fixed?

  • Updated the count of concurrent fast indexing queues to respect yt_dlp_worker_count since these workers do indeed call out to yt-dlp

Any other comments?

N/A

@kieraneglin kieraneglin added the enhancement New feature or request label Jan 21, 2025
@kieraneglin kieraneglin self-assigned this Jan 21, 2025
@kieraneglin kieraneglin merged commit 62214b8 into master Jan 22, 2025
1 check passed
@kieraneglin kieraneglin deleted the ke/fast-indexing-while-slow-indexing branch January 22, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant