This commit is contained in:
2021-03-02 10:41:17 +08:00
parent 83b6542f6f
commit 11d2350641
-1
View File
@@ -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]);