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

refactor: use generator function for generic worker #2525

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ferferga
Copy link
Member

@ferferga ferferga commented Dec 3, 2024

This spawns the worker only when needed, avoiding the extra memory usage of keeping it running all the time

Also properly release the worker in JVirtual

TODO: Playback manager doesn't shuffle correctly with this

@jellyfin-bot jellyfin-bot added the vue Pull requests that edit or add Vue files label Dec 3, 2024
@jellyfin-bot
Copy link

jellyfin-bot commented Dec 3, 2024

Cloudflare Pages deployment

Latest commit a58c6a8
Status ✅ Deployed!
Preview URL https://5c2f5123.jf-vue.pages.dev
Preview alias https://improve-generic-worker.jf-vue.pages.dev
Type 🔀 Preview

View build logs

This spawns the worker only when needed, avoiding the extra memory usage of keeping it running all the time

Also properly release the worker in JVirtual

Signed-off-by: Fernando Fernández <[email protected]>
@ferferga ferferga force-pushed the improve-generic-worker branch from 46a43e5 to a58c6a8 Compare December 27, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue Pull requests that edit or add Vue files
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants