File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ The exact way task is executed depends on the driver used. The most part of driv
7070console commands, which the component registers in your application. For more details see documentation
7171of a driver.
7272
73- The component has ability to track status jobs which was pushed into queue.
73+ The component has ability to track status of a job which was pushed into queue.
7474
7575``` php
7676// Push a job into queue and get massage ID.
@@ -79,7 +79,7 @@ $id = Yii::$app->queue->push(new SomeJob());
7979// The job is waiting for execute.
8080Yii::$app->queue->isWaiting($id);
8181
82- // Worker gets the job from queue, end executing it.
82+ // Worker gets the job from queue, and executing it.
8383Yii::$app->queue->isReserved($id);
8484
8585// Worker has executed the job.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Yii::$app->queue->later(new DownloadJob([
6262]), 5 * 60);
6363```
6464
65- ** Внимание:** Драйвера RebbitMQ и Gearman не поддреживают отложенные задания. И синхронный драйвер,
65+ ** Внимание:** Драйвера RabbitMQ и Gearman не поддреживают отложенные задания. И синхронный драйвер,
6666в отладочных целях, обрабатывает ` later() ` как обычный ` push() ` .
6767
6868
@@ -93,7 +93,7 @@ Yii::$app->queue->isReserved($id);
9393Yii::$app->queue->isDone($id);
9494```
9595
96- ** Внимание:** Драйвер RebbitMQ не поддерживает статусы.
96+ ** Внимание:** Драйвер RabbitMQ не поддерживает статусы.
9797
9898
9999Сообщения для сторонних воркеров
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ of a driver.
7575Job status
7676----------
7777
78- The component has ability to track status jobs which was pushed into queue.
78+ The component has ability to track status of a job which was pushed into queue.
7979
8080``` php
8181// Push a job into queue and get massage ID.
@@ -84,14 +84,14 @@ $id = Yii::$app->queue->push(new SomeJob());
8484// The job is waiting for execute.
8585Yii::$app->queue->isWaiting($id);
8686
87- // Worker gets the job from queue, end executing it.
87+ // Worker gets the job from queue, and executing it.
8888Yii::$app->queue->isReserved($id);
8989
9090// Worker has executed the job.
9191Yii::$app->queue->isDone($id);
9292```
9393
94- ** Important:** RebbitMQ driver doesn't support job statuses.
94+ ** Important:** RabbitMQ driver doesn't support job statuses.
9595
9696
9797Messaging third party workers
You can’t perform that action at this time.
0 commit comments