Ranx99

Understanding Laravel Horizon's processes and queue settings!

Posted 2 months ago by Ranx99

In Laravel Horizon's settings:

'local' => [
    'supervisor-1' => [
        'connection' => 'redis',
        'queue' => ['default'],
        'balance' => 'simple',
        'processes' => 3,
        'tries' => 3,
    ],
],
  • How can I determine the number of processes I should use in processes setting?
  • Is there a limit number of processes?
  • In the queue setting, as I understand this setting is for separating my queues ( Ex: uploadImageQueue, verfyEmailQueue, etc.. ) is this the right? is there a limit for the number of queues I can set?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.