user7851085
user7851085

Reputation:

Laravel 5.4 beanstalkd multiple workers

I have a million tasks in the queue that sends bulk sms. I am using the beanstalkd driver to as my queue driver. I have installed beanstalk and supervisord on my ubuntu machine.

In the docs - http://supervisord.org/configuration.html i foundnumprocs=5 for instance. Does this create five workers?.

If i have two different workers, will i have 5 processes for each worker?.

Upvotes: 0

Views: 849

Answers (1)

Jirennor
Jirennor

Reputation: 1289

See here the link to the Laravel 'config' regarding supervisord.

Queues Supervisor Config

In this example, the numprocs directive will instruct Supervisor to run 8 queue:work processes and monitor all of them, automatically restarting them if they fail.

Upvotes: 1

Related Questions