yii2-queue
yii2-queue copied to clipboard
Yii2 Queue Extension. Supports DB, Redis, RabbitMQ, Beanstalk and Gearman
### How do I use retry? | Q | A | ---------------- | --- | Yii version | 2.0.15.1 | PHP version | 7.2.5 | Operating system | linux ```php
### What steps will reproduce the problem? I am working on getting this info. It happens on a live system with a few thousand jobs per day where a few...
How to get complete info about job in queue by it's ID? ### What steps will reproduce the problem? something like Yii::$app->queue->getJob(123); ### What's expected? It would be nice to...
| Q | A | ------------- | --- | Is bugfix? | yes | New feature? | no | Breaks BC? | no | Tests pass? | yes | Fixed...
### What steps will reproduce the problem? On the producer: ```php 'queue' => [ 'class' => \yii\queue\db\Queue::class, 'mutex' => \yii\mutex\PgsqlMutex::class, 'strictJobType' => false, 'serializer' => \yii\queue\serializers\JsonSerializer::class, ], ``` On the...
TTR is a mechanic to release crashed / stalled jobs back into the queue. Sometimes jobs are slow but not stalled. Consider the `DownloadJob` from the docs; I could easily...
### What steps will reproduce the problem? Set up any queue with TTR 30. Push a job that does this: ```php for ($i = 0; $i < 1000; $i++) {...
### What steps will reproduce the problem? 1. Add some tasks to the queue. 2. Run `yii queue/listen` and interrupt it by Ctrl+C. ### What's expected? The failed task (since...
From docs - to see status need pass job id ``` if (!Yii::$app->queue->isDone($id)) echo 'working...' ``` What about check status by class name? For example `Yii::$app->queue->isAnyWorking(testJob::class)` which mean- is any...
Instead of db query each timeout seconds my sux version ```php