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

Move item to end of queue #26

Open
jlelse opened this issue Nov 23, 2020 · 0 comments
Open

Move item to end of queue #26

jlelse opened this issue Nov 23, 2020 · 0 comments

Comments

@jlelse
Copy link

jlelse commented Nov 23, 2020

It would be awesome to have a way to move an item to the end of the queue instead of dequeue and enqueue again. My use case is the following: I use a queue to sequentially send requests and retry failed ones for a couple of times after a certain time threshold. I always peek (block) the first item and after it was processed, dequeue it. When it failed and didn't fail for more than 3 times, I enqueue it again.

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

No branches or pull requests

1 participant