From 118297271ac82b9c7912c3abd212b38b6b22e444 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 20 Apr 2021 00:28:30 +0800 Subject: [PATCH] modify --- HttpServer/Events/OnWorkerStart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index 380a9c29..85cb5170 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -91,7 +91,7 @@ class OnWorkerStart extends Callback $time = microtime(true); $annotation->runtime(CONTROLLER_PATH); - $this->debug('use time.' . microtime(true) - $time); + $this->debug('use time.' . (microtime(true) - $time)); $annotation->runtime(directory('app'), CONTROLLER_PATH); Snowflake::setWorkerId($server->worker_pid);