The laravel queue stuck problem is summarized

Refer to the following articles:

  1. The curl-related code used in the queue did not set the timeout time, which resulted in no error reported for the queue timeout, and the subsequent queue tasks were stuck and did not execute.
    Laravel queue task does not exit after timeout, causing the queue to hang fault analysis

  2. Set up the monitor in the laravel queue to report an error: The pit stepped on in the Laravel queue is
    not reported, but the queue keeps retrying

  3. laravel Chinese forum discussion thread:
    Regarding the problem that Laravel queues are often stuck.

The first point is the problem I encountered. The curl connection timed out and reported an error, and the laravel queue could not be captured. I hope I can help you who have the same problem.

Guess you like

Origin blog.csdn.net/qq_39004843/article/details/109669268