-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
Description
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.
MaSpeng