File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function init()
41
41
// Register plugin components
42
42
$ this ->setComponents ([
43
43
'async_handler ' => QueueHandler::class,
44
- 'async_pool ' => QueuePool ::class,
44
+ 'async_pool ' => ProcessPool ::class,
45
45
]);
46
46
47
47
// Tell yii about the concrete implementation of CacheInterface
@@ -78,6 +78,7 @@ function (ActionEvent $event) {
78
78
}
79
79
}
80
80
);
81
+
81
82
}
82
83
83
84
@@ -93,9 +94,9 @@ public function getHandler(): QueueHandler
93
94
}
94
95
95
96
/**
96
- * @return \ostark\AsyncQueue\QueuePool
97
+ * @return \ostark\AsyncQueue\ProcessPool
97
98
*/
98
- public function getPool (): QueuePool
99
+ public function getPool (): ProcessPool
99
100
{
100
101
return $ this ->get ('async_pool ' );
101
102
}
Original file line number Diff line number Diff line change 3
3
use yii \caching \CacheInterface ;
4
4
5
5
/**
6
- * QueuePool
6
+ * ProcessPool
7
7
*
8
8
* @author Oliver Stark
9
9
* @package AsyncQueue
10
10
* @since 1.3.0
11
11
*
12
12
*/
13
- class QueuePool
13
+ class ProcessPool
14
14
{
15
15
16
16
const CACHE_KEY = 'async-queue-pool ' ;
You can’t perform that action at this time.
0 commit comments