Category: Laravel, Laravel

Each of the queue drivers supported by Laravel has its pros and cons, and sometimes you may want to switch between drivers to accommodate business needs. While in maintenance mode, a Laravel application will return a 503 response on every request, preventing visitors from taking any action that could enqueue more jobs.

Otherwise, they'll just pause and wait for the application to be back up.

Another approach is to follow the following steps: For example, if you're switching from the database queue connection to the redis connection.

I recently published a book titled "Laravel Queues in Action" that covers everything I know about running queues in Laravel.
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