diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index b79afe6f..fa2505f7 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -44,7 +44,6 @@ class OnWorkerStart extends Callback /** @var Loader $runtime */ $runtime = unserialize(file_get_contents(storage('runtime.php'))); $annotation->setLoader($runtime); - if ($worker_id >= $server->setting['worker_num']) { $annotation->instanceDirectoryFiles(MODEL_PATH);