From 2e1a90232b98035d56f469f9aa9f68666038be83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 14 Apr 2021 17:38:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Events/OnWorkerStart.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index 39c4066c..2d2b545a 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -85,10 +85,10 @@ class OnWorkerStart extends Callback { try { $time = microtime(true); - $annotation->runtime(CONTROLLER_PATH); + $annotation->runtime(directory('app')); $this->debug('load controller time .' . (microtime(true) - $time)); - $annotation->runtime(directory('app'), CONTROLLER_PATH); +// $annotation->runtime(directory('app'), CONTROLLER_PATH); name($server->worker_pid, 'Worker#' . $server->worker_id);