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

fail invalid hashes to remove them from the job queue. #111

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

willgraf
Copy link
Contributor

@willgraf willgraf commented Jun 4, 2020

Invalid hashes should not be put back into the work queue. Now, each queue has its own consumer, so if one consumer finds an item invalid, they all will - and the item just bounces from consumer to consumer forever.

Instead, the item is removed from the consumer's processing queue and its status is set to "failed".

@willgraf willgraf merged commit 6381c3b into master Jun 4, 2020
@willgraf willgraf deleted the remove-invalid branch June 4, 2020 21:18
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.

None yet

1 participant