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

Use Replica::pending_tasks #3661

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Conversation

djmitche
Copy link
Collaborator

This replaces a loop over all tasks with one that fetches only pending tasks, as determined by the working set.

This should be faster for task DB's with large numbers of completed tasks, although on my medium-sized installation (~5000 total tasks) the difference is negligible.

Fixes #3632.

This replaces a loop over _all_ tasks with one that fetches only pending
tasks, as determined by the working set.

This should be faster for task DB's with large numbers of completed
tasks, although on my medium-sized installation (~5000 total tasks) the
difference is negligible.
@djmitche djmitche requested a review from ryneeverett October 31, 2024 00:22
@djmitche djmitche merged commit 6ff900f into GothenburgBitFactory:develop Oct 31, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use new Replica::pending_tasks in TDB2::pending_tasks
2 participants