This commit is contained in:
as2252258@163.com
2021-02-27 03:28:44 +08:00
parent 4a0cd46f56
commit e443b25723
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class Snowflake
public static function getMasterPid(): bool|string
{
$pid = Snowflake::app()->getSwoole()->setting['pid_file'];
return file_get_contents($pid);
}