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

Do not increment retries if requeue was called #36

Open
ngoral opened this issue May 27, 2020 · 0 comments
Open

Do not increment retries if requeue was called #36

ngoral opened this issue May 27, 2020 · 0 comments

Comments

@ngoral
Copy link

ngoral commented May 27, 2020

I just faced the problem that sometimes I want to just re-enqueue a message without incrementing its retries count.

To be more concrete: we use RabbitMQ for handling background jobs. And sometimes a consumer can accept a task that cannot be run right now 'cause of another task running right now. It does not mean that task failed and we want it to retry, we just want to postpone it launching a bit and have all the retries with it.

I am ready to open a PR if you find this feature useful in your gem and thing that someone can profit from it too. The only thing I don't know in that case is how to allow a user to configure this setting best. So any thoughts are appreciated

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