Skip to content

[Beanstalkd] Unable to use delay #821

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

Closed
slaur opened this issue Apr 10, 2019 · 3 comments
Closed

[Beanstalkd] Unable to use delay #821

slaur opened this issue Apr 10, 2019 · 3 comments
Labels

Comments

@slaur
Copy link

slaur commented Apr 10, 2019

I'm trying to use enqueue/pheanstalk with the symfony bundle.
Messages without delay are processed without error.
If I send a message with delay, the setDeliveryDelay method in PheanstalkProducer will throw an exception.
ex
Was someone able to use delayed jobs with beanstalkd and enqueue ?

@makasim
Copy link
Member

makasim commented Apr 10, 2019

The logic is not implemented, feel free to provide a pull request that adds it.

@makasim makasim closed this as completed Apr 10, 2019
@slaur
Copy link
Author

slaur commented Apr 10, 2019

Thank you, I'll have a look.

@slaur
Copy link
Author

slaur commented Apr 11, 2019

The ugly way : use $message->setHeader('delay', $delay); instead of $message->setDelay($delay);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants