pinnacle/doctrine-queue-worker
最新稳定版本:v4.0.0-beta.1
Composer 安装命令:
composer require pinnacle/doctrine-queue-worker
包简介
A worker for Laravel applications that interact with Doctrine
README 文档
README
doctrine-queue-worker is a package intended to address common issues with running Laravel 11.x queue worker processes with an application that interacts with the Doctrine ORM.
Features
- Re-queues jobs and kills the worker process when the
EntityManagercloses due to an exception. - Ensures the
EntityManager's database connection remains open between jobs. - Clears the
EntityManagerbetween job executions.
Installation
- Require the library via Composer:
composer require pinnacle/doctrine-queue-worker
Usage
- Setup worker processes to invoke the
doctine:queue:workartisan command. Options for the command are the same as the built-in Laravelqueue:workcommand. - Use a process manager like supervisor to ensure your queue workers will be restarted after they die.
统计信息
- 总下载量: 125.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-20