Skip to content

fix: make audiobook search retries fair and deduplicated - #268

Open
galail52 wants to merge 1 commit into
kikootwo:mainfrom
galail52:fix/search-queue-fairness-dedupe
Open

fix: make audiobook search retries fair and deduplicated#268
galail52 wants to merge 1 commit into
kikootwo:mainfrom
galail52:fix/search-queue-fairness-dedupe

Conversation

@galail52

Copy link
Copy Markdown

Summary

  • Retry oldest or never-searched audiobook requests first.
  • Prevent duplicate queued or active audiobook searches for the same request.
  • Use an owner token so an older job cannot clear a newer search lock after TTL expiry.
  • Keep the existing retry schedule and batch size unchanged.

Validation

  • npm test - 2620 passed
  • npm run build - passed
  • docker compose build readmeabook - command exits successfully; the current compose file reports no services to build

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