Skip to content

[Beanstalkd] Unable to use delay #821

Closed

Description

@slaur

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 ?

Activity

  1. makasim commented on Apr 10, 2019

    @makasim
    Member

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

  2. slaur commented on Apr 10, 2019

    @slaur
    Author

    Thank you, I'll have a look.

  3. slaur commented on Apr 11, 2019

    @slaur
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions