-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat: add button to unpause all queues #21685
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
Conversation
| let pausedJobs = $derived.by(() => { | ||
| if (!jobs) { | ||
| return []; | ||
| } | ||
| return Object.entries(jobs) | ||
| .filter(([_, jobStatus]) => jobStatus.queueStatus?.isPaused) | ||
| .map(([jobName]) => jobName as JobName); | ||
| }); | ||
| let pausedJobsCount = $derived(pausedJobs.length); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They can both be const
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's confusing lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't reassign them :P
* feat: add button to unpause all queues * fix: const * chore: simplify * chore: pr feedback --------- Co-authored-by: Jason Rasmussen <[email protected]>

This should help users fix situations like where an immich-go crash left them paused.