File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
Yii2 Queue Extension Change Log
2
2
===============================
3
3
4
- ## 1.0.0 under development
4
+ ## 1.0.0
5
5
6
6
- Enh: Improvements of log behavior
7
7
- Enh: File driver stat info
Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ The component has ability to track status of a job which was pushed into queue.
76
76
// Push a job into queue and get massage ID.
77
77
$id = Yii::$app->queue->push(new SomeJob());
78
78
79
- // The job is waiting for execute.
79
+ // The job is waiting for execute.
80
80
Yii::$app->queue->isWaiting($id);
81
81
82
82
// Worker gets the job from queue, and executing it.
83
83
Yii::$app->queue->isReserved($id);
84
84
85
- // Worker has executed the job.
85
+ // Worker has executed the job.
86
86
Yii::$app->queue->isDone($id);
87
87
```
88
88
Original file line number Diff line number Diff line change @@ -4,11 +4,8 @@ Upgrading Instructions
4
4
This file contains the upgrade notes. These notes highlight changes that could break your
5
5
application when you upgrade the package from one version to another.
6
6
7
- Upgrade from 0.x to 1.0
8
- -----------------------
9
-
10
- * Method ` Queue::sendMessage ` renamed to ` Queue::pushMessage ` . Check it if you use it for yourself
11
- drivers.
7
+ Upgrade from 0.x to 1.0.0
8
+ -------------------------
12
9
13
10
* Some methods and constants was modified.
14
11
@@ -17,6 +14,9 @@ Upgrade from 0.x to 1.0
17
14
- Const ` Queue::EVENT_AFTER_WORK ` renamed to ` Queue::EVENT_AFTER_EXEC ` .
18
15
- Const ` Queue::EVENT_AFTER_ERROR ` renamed to ` Queue::EVENT_AFTER_EXEC_ERROR ` .
19
16
17
+ * Method ` Queue::sendMessage ` renamed to ` Queue::pushMessage ` . Check it if you use it for yourself
18
+ drivers.
19
+
20
20
21
21
Upgrade from 0.10.1
22
22
-------------------
Original file line number Diff line number Diff line change @@ -83,13 +83,13 @@ Yii::$app->queue->later(new DownloadJob([
83
83
// Отправляем занание в очередь, и получаем его ID.
84
84
$id = Yii::$app->queue->push(new SomeJob());
85
85
86
- // Задание еще находится в очереди.
86
+ // Задание еще находится в очереди.
87
87
Yii::$app->queue->isWaiting($id);
88
88
89
- // Воркер взял задание из очереди, и выполняет его.
89
+ // Воркер взял задание из очереди, и выполняет его.
90
90
Yii::$app->queue->isReserved($id);
91
91
92
- // Воркер уже выполнил задание.
92
+ // Воркер уже выполнил задание.
93
93
Yii::$app->queue->isDone($id);
94
94
```
95
95
Original file line number Diff line number Diff line change @@ -81,13 +81,13 @@ The component has ability to track status of a job which was pushed into queue.
81
81
// Push a job into queue and get massage ID.
82
82
$id = Yii::$app->queue->push(new SomeJob());
83
83
84
- // The job is waiting for execute.
84
+ // The job is waiting for execute.
85
85
Yii::$app->queue->isWaiting($id);
86
86
87
87
// Worker gets the job from queue, and executing it.
88
88
Yii::$app->queue->isReserved($id);
89
89
90
- // Worker has executed the job.
90
+ // Worker has executed the job.
91
91
Yii::$app->queue->isDone($id);
92
92
```
93
93
You can’t perform that action at this time.
0 commit comments