Laravel - Queues - Supervisor Configuration
In production, you need a way to keep your
queue:work processes running. A
queue:work process may stop running for a variety of reasons, such as an exceeded worker timeout or the execution of the
For this reason, you need to configure a process monitor that can detect when your
queue:work processes exit and automatically restart them. In addition, process monitors can allow you to specify how many
queue:work processes you would like to run concurrently. Supervisor is a process monitor commonly used in Linux environments and we will discuss how to configure it in the following documentation.