Skip to content

Wait for the job, not the whole queue - #7997

Open
labkey-jeckels wants to merge 1 commit into
developfrom
fb_messageDigest
Open

Wait for the job, not the whole queue#7997
labkey-jeckels wants to merge 1 commit into
developfrom
fb_messageDigest

Conversation

@labkey-jeckels

@labkey-jeckels labkey-jeckels commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Rationale

JobRunner.waitForCompletion() blocks until all jobs in the queue have completed, including those that are scheduled for future execution. That can be a long wait. Most callers want to wait until their job is complete.

Changes

  • Add JavaDoc describing the behavior
  • Switch to waiting for the job of interest

Tasks

  • Claude Code Review
  • Manual Testing - N/A
  • Test Automation - rely on existing coverage

@labkey-jeckels
labkey-jeckels requested a review from a team August 30, 2026 15:43
@labkey-jeckels labkey-jeckels self-assigned this Aug 30, 2026
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.

1 participant