Restarting Laravel's queue workers should be an essential part of your deployment script. If that's the case, the worker process will exit and your process manager may start a new one.

They all need to be able to see the value of the illuminate:queue:restart cache key when it's set by the restart command.

Now if your worker processes are run by the forge user, they will have access to the cache files even if the restart command was executed by a different system user. If you change the cache prefix, the restart command will set a cache key with the new prefix.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners