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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners