This commit is contained in:
2021-04-12 15:40:58 +08:00
parent 3bdba2c993
commit bb58634d2a
+1 -2
View File
@@ -20,7 +20,6 @@ class OnWorkerStart extends Callback
{ {
/** /**
* @param Server $server * @param Server $server
* @param int $worker_id * @param int $worker_id
@@ -89,7 +88,7 @@ class OnWorkerStart extends Callback
$annotation->runtime(CONTROLLER_PATH); $annotation->runtime(CONTROLLER_PATH);
$this->debug('load controller time .' . (microtime(true) - $time)); $this->debug('load controller time .' . (microtime(true) - $time));
$annotation->runtime(APP_PATH, CONTROLLER_PATH); $annotation->runtime(APP_PATH . 'app', CONTROLLER_PATH);
name($server->worker_pid, 'Worker#' . $server->worker_id); name($server->worker_pid, 'Worker#' . $server->worker_id);