Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

队列超时时后入failed_jobs表,缺少connection #3

Open
ahcometrue opened this issue Apr 22, 2020 · 0 comments
Open

队列超时时后入failed_jobs表,缺少connection #3

ahcometrue opened this issue Apr 22, 2020 · 0 comments

Comments

@ahcometrue
Copy link

laravel version: v5.8.35
milkmeowo/laravel-mns version: 1.0.3

队列超时时

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'connection' cannot be null (SQL: insert into `failed_jobs` (`connection`, `queue`, `payload`, `exception`, `failed_at`) values (?, nnyc-api, {"displayName":"App\\Jobs\\Api\\TrainingCheck","job":"Illuminate\\Queue\\CallQueuedHandler@call","maxTries":null,"delay":null,"timeout":null,"timeoutAt":null,"data":{"commandName":"App\\Jobs\\Api\\TrainingCheck","command":"O:26:\"App\\Jobs\\Api\\TrainingCheck\":10:{s:41:\"\u0000App\\Jobs\\Api\\TrainingCheck\u0000book_word_ids\";N;s:13:\"\u0000*\u0000class_name\";s:26:\"App\\Jobs\\Api\\TrainingCheck\";s:7:\"\u0000*\u0000data\";a:1:{s:7:\"user_id\";s:5:\"38538\";}s:6:\"\u0000*\u0000job\";N;s:10:\"connection\";N;s:5:\"queue\";s:8:\"nnyc-api\";s:15:\"chainConnection\";N;s:10:\"chainQueue\";N;s:5:\"delay\";N;s:7:\"chained\";a:0:{}}"}}, Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\Api\TrainingCheck has been attempted too many times or run too long. The job may have previously timed out. in /var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant