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

Request: Cache Torrents List #134

Open
Reasonable-Grape2698 opened this issue Jan 18, 2025 · 0 comments
Open

Request: Cache Torrents List #134

Reasonable-Grape2698 opened this issue Jan 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Reasonable-Grape2698
Copy link

Feature Description
Cache list of torrents so it's not pulled every restart.

Problem and Motivation
When starting up with pages and pages of torrents, it's only ~100 per second and can take several minutes with thousands of torrents / large libraries. It also means Docker replicas take ages to boot and aren't usable (with replicas I could have multiple instances, each on a different VPN backnet. Could also shutdown zurg when plex isn't in use if quick start was possible)

Possible Solution
Show all torrents in /data immediately on start, then refresh list in background after boot.

Alternatives Considered
rclone currently caches the list while zurg restarts, but this is clunky and results in errors if anything is accessed while zurg is booting.

Your Environment
Docker

Potential Impact
Limited impact on other parts of the project - feature would work as a standalone additional feature.

@Reasonable-Grape2698 Reasonable-Grape2698 added the enhancement New feature or request label Jan 18, 2025
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

No branches or pull requests

1 participant