From 11d235064194212619ee4fc8496d5fe43c4a34b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 2 Mar 2021 10:41:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Events/OnWorkerStart.php | 1 - 1 file changed, 1 deletion(-) diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index 3448904e..77749bf6 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -73,7 +73,6 @@ class OnWorkerStart extends Callback public function onWorker(Server $server, int $worker_id) { Snowflake::setWorkerId($server->worker_pid); - putenv('environmental=' . Snowflake::WORKER); try { fire(Event::SERVER_WORKER_START, [$worker_id]);