Answer the question
In order to leave comments, you need to log in
How can I debug a full queue in laravel 5?
My job fails with --tries=3, but works with --tries=5 and higher.
After 3 attempts, the
App\Jobs\CacheHist has been attempted too many times or run too long exception is thrown. The job may have previously timed out.
Well, ok, it is clear that attempts to execute a job exceed 3 pieces.
But how can you debug why the job tries to be executed again at all?
PS I did logging in the handle method just before my code.
So I found out that with 3 attempts, this method does not even reach.
Laravel 5.6
Answer the question
In order to leave comments, you need to log in
The job may have previously timed out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question