This commit is contained in:
2021-04-14 18:13:17 +08:00
parent 61950d9290
commit 91a2899840
2 changed files with 14 additions and 4 deletions
+2 -2
View File
@@ -85,10 +85,10 @@ class OnWorkerStart extends Callback
{
try {
$time = microtime(true);
$annotation->runtime(directory('app'));
$annotation->runtime(CONTROLLER_PATH);
$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);