This commit is contained in:
2021-03-29 11:41:46 +08:00
parent 118ac9efe5
commit 98778b69fb
4 changed files with 16 additions and 17 deletions
+1 -2
View File
@@ -24,9 +24,8 @@ class OnStart extends Callback
*/
public function onHandler(Server $server)
{
// Snowflake::setProcessId($server->master_pid);
if (Snowflake::getPlatform()->isLinux()) {
name($server->master_pid);
name($server->master_pid, 'master');
}
fire(Event::SERVER_EVENT_START, [$server]);
}