Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Apr 29, 2023
1 parent 2fd0dc4 commit 7db936f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function run(\Swoole\Process $process): void
$processPool = new \Imi\Swoole\Process\Pool($options['process']);
$configs = $options['configs'];
$processPool->on('WorkerStart', function (\Imi\Swoole\Process\Pool\WorkerEventParam $e) use ($group, $configs) {
Coroutine::create(function (\Imi\Swoole\Process\Pool\WorkerEventParam $e) use ($group, $configs) {
Coroutine::create(function () use ($group, $configs, $e) {
$processName = 'QueueConsumer-' . $group;
// 进程开始事件
ImiEvent::trigger('IMI.PROCESS.BEGIN', [
Expand Down

0 comments on commit 7db936f

Please sign in to comment.