This commit is contained in:
2021-04-14 17:38:52 +08:00
parent 7e7b099122
commit 2e1a90232b
+2 -2
View File
@@ -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);