This commit is contained in:
2021-04-19 13:32:59 +08:00
parent 1968223486
commit ab76dc0889
+2
View File
@@ -87,7 +87,9 @@ class OnWorkerStart extends Callback
try { try {
name($server->worker_pid, 'Worker#' . $server->worker_id); name($server->worker_pid, 'Worker#' . $server->worker_id);
$time = microtime(true);
$annotation->runtime(CONTROLLER_PATH); $annotation->runtime(CONTROLLER_PATH);
$this->debug('use time.' . microtime(true) - $time);
$annotation->runtime(SOCKET_PATH); $annotation->runtime(SOCKET_PATH);
$annotation->runtime(MODEL_PATH); $annotation->runtime(MODEL_PATH);
$annotation->runtime(CRONTAB_PATH); $annotation->runtime(CRONTAB_PATH);