From 9d84f4d6bb4161e32158c0fda93d4cc4d0063c80 Mon Sep 17 00:00:00 2001 From: walkor Date: Thu, 19 Dec 2024 11:21:08 +0800 Subject: [PATCH] Optimization --- src/Worker.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Worker.php b/src/Worker.php index 42cf2f7f..d9b140d9 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -706,6 +706,7 @@ protected static function init(): void // $_SERVER. $_SERVER['SERVER_SOFTWARE'] = 'Workerman/' . static::VERSION; + $_SERVER['SERVER_START_TIME'] = time(); // Start file. $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);