-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
e.g. RedisSetDriver
in constructor there is:
$this->setupPriorityQueue($key, Dispatcher::DEFAULT_PRIORITY);
if I call then something like this:
$driver->setupPriorityQueue(200, 'higher');
$driver->setupPriorityQueue(1000, 'top');
$driver->setupPriorityQueue(50, 'lower');
queues will be executed in order
- lower
- top
- higher
- default
because of line:
$queues = array_reverse($this->queues, true);
There should be something like
$queues = $this->queues;
krsort($queues);
Metadata
Metadata
Assignees
Labels
No labels