-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Closed
Description
- Laravel Version: 5.7.28
- PHP Version: 7.1.8
- Database Driver & Version: MySql + Redis
Description:
The queued subscribers is always pushed into the default redis queue and not in the one defined in the subscribers itself (using $queue property).
I've tried both methods: using public $queue and using the Queueable trait + onQueue method.
Note that the subscribers does works and gets fired, just in the wrong redis queue.
Steps To Reproduce:
- Create a subscribers following the https://laravel.com/docs/5.8/events#event-subscribers
- Make the subscriber implements the
ShouldQueueinterface - Add the
public $queue = 'low';property in your subscriber. - Fire an event that your subscriber listens to.
- Witness that the subscribers is queued under
defaultredis queue, while it should have been pushed under thelowredis queue.
Metadata
Metadata
Assignees
Labels
No labels