Support the ongoing development of Laravel.io →
Jobs Queues

Hi,

I just started using Horizon, and it seems awesome. I do have something weird going on: all my jobs are being put on the same 'default' queue.

I defined 2 queues in my horizon.php file

'local' => [

      'supervisor-1' => [

          'connection' => 'redis',

          'queue' => ['default','reminders'],

          'balance' => 'auto',

          'processes' => 6,

          'tries' => 3,

      ],


In my code I explicitly chose the 'reminders' queue for a job: SetupReminders::dispatch($user,$calendar)->onQueue('reminders');

But these jobs are being executed by the default queue (recent jobs -> they are all on default). The 'reminders' queue does show up in the dashboard under 'current workload'...

What am I missing here? How can I make sure that those jobs with ->onQueue('reminders') are actually being executed by the reminders queue?

Last updated 3 years ago.
0

You can check out this tutorial for learning how to install Laravel Horizon and how to configure your queues with it.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

JM brusselsregular Joined 31 Jan 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.