Answer the question
In order to leave comments, you need to log in
Jobs table not updating while queue is running?
There is such a very simple Job:
https://pastebin.com/qrq1pnTV
I
run:
php artisan queue:work
I get:
In the database:
I can’t understand why the console displays that the tasks have been completed, but they remain in the database ... If you run more one queue handler, then tasks with id > 2300 are executed again, reserved_at is set in the database for the first task (id 2301), the rest remain with reserved_at = NULL
PHP 7.4.4
Laravel Framework 7.26.0
Answer the question
In order to leave comments, you need to log in
I found the problem, it turns out I did not close the transaction.
https://pastebin.com/NAy6Cxw5
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question