Replies: 1 comment
-
For those of you who get here, this has already been documented: https://laravel.com/docs/12.x/queues#maintenance-mode-queues |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋
Just wanted to say that it could be nice if the Queues documentation mentioned somewhere that if the site is under maintenance (
php artisan down
) the jobs are not processed.Basically, I have a site that runs 2 environments in the same VPS and I spent around 3 hours trying to figure out why one environment (test) was processing the jobs fine and the other not considering they both share almost the same configuration in supervisor.
After trying:
APP_NAME
is unique for eachDatabase
queue connection for test andRedis
for prodAnd a few others I don't remember I ended up reading the
php artisan queue:work
help which mentions that you need to add--force
to run even in maintenance mode.Sorry and please ignore if it's mentioned already or if there is a doc I missed 🙏
Beta Was this translation helpful? Give feedback.
All reactions