Skip to content

[redis] LogicException on set priority #635

@FrankGiesecke

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.

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