Skip to content

Commit d247f2d

Browse files
committed
修正
1 parent d446bbe commit d247f2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Ipc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Ipc extends \think\Manager
1010
{
1111

12-
protected $namespace = "\\think\\swoole\\ipc\\";
12+
protected $namespace = "\\think\\swoole\\ipc\\driver\\";
1313

1414
protected function resolveConfig(string $name)
1515
{

src/concerns/InteractsWithServer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ public function start(string $envName): void
8686
$this->pool->getProcess()->exit();
8787
});
8888

89-
$this->ipc->listenMessage($workerId);
90-
9189
$this->clearCache();
9290
$this->prepareApplication($envName);
9391

92+
$this->ipc->listenMessage($workerId);
93+
9494
$this->triggerEvent(Constant::EVENT_WORKER_START);
9595

9696
$func($pool, $workerId);

0 commit comments

Comments
 (0)