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

[pheanstalk] Requeuing a message should not acknowledge it beforehand #722

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

alanpoulain
Copy link
Contributor

Requeuing a message in Beanstalk means to release a reserved message:
https://github.com/beanstalkd/beanstalkd/blob/b5a6f7a23a368ffb31fbf48cdffe95541166d3fa/doc/protocol.txt#L85-L102
If the message is acknowledged beforehand (i.e. deleted), it can't be released anymore.
If you are OK with the modification, I will add a unit test.

@makasim makasim merged commit c221abe into php-enqueue:master Jan 15, 2019
@alanpoulain
Copy link
Contributor Author

No unit test then? 😛

@makasim
Copy link
Member

makasim commented Jan 15, 2019

@alanpoulain ah, missed that. Could you add it?

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