modify
This commit is contained in:
@@ -54,8 +54,8 @@ class OnWorkerStart extends Callback
|
||||
public function onHandler(Server $server, int $worker_id): void
|
||||
{
|
||||
$annotation = $this->injectLoader();
|
||||
(new Pipeline())
|
||||
->if($this->isWorker($worker_id), function ($annotation, $server, $worker_id) {
|
||||
$line = new Pipeline();
|
||||
$line->if($this->isWorker($worker_id), function ($annotation, $server, $worker_id) {
|
||||
$annotation->runtime(CONTROLLER_PATH);
|
||||
$annotation->runtime(APP_PATH, CONTROLLER_PATH);
|
||||
$this->onWorker($server, $server->worker_id);
|
||||
|
||||
Reference in New Issue
Block a user