Skip to content

fix(ocr): allow queued jobs to wait thirty minutes - #46

Merged
Teakowa merged 1 commit into
mainfrom
fix/ocr-queue-grace
Oct 14, 2026
Merged

Teakowa merged 1 commit into
mainfrom
fix/ocr-queue-grace

Conversation

@e54-bot

@e54-bot e54-bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Queued screenshots can expire before recognition starts when the single-worker service is busy. Extend the queue deadline from 10 to 30 minutes, retaining bounded expiration and the existing result delivery behavior.

The paired platform change (OWBastion/owbastion.com#382) extends stale recovery from 15 to 45 minutes. Deploy the platform change first, then deploy this OCRKit image so long-waiting jobs can still deliver results.

Validation: all 427 Python tests passed. Queue boundary coverage checks admission beyond the old deadline, recognition just before 30 minutes, and expiration at 30 minutes. Recognition throughput remains constrained by the host resources; no production deployment or retry has been performed.

@Teakowa
Teakowa merged commit 7cf24fb into main Oct 14, 2026
2 checks passed
@Teakowa
Teakowa deleted the fix/ocr-queue-grace branch October 14, 2026 10:30
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.

2 participants