Skip to content

[redis] LogicException on set priority #635

Description

@FrankGiesecke

The method \Enqueue\Redis\RedisProducer::setPriority currently throws an logic exception for the reason, that this isn't implemented.
This exception happens on consuming data from the queue.

But it is possible to send messages having a priority.

Therefor, the whole queue went invalid. It's no longer possible to process messages if this happens.

If the Redis producer doesn't care about priority, this information should be simply ignored.
Throwing an exception isn't necessary and useful at all.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions