This commit is contained in:
as2252258@163.com
2021-02-27 02:51:54 +08:00
parent f6ac72386b
commit 434c5cf7d1
+1
View File
@@ -388,6 +388,7 @@ class Snowflake
*/
public static function reload(): mixed
{
return static::app()->getSwoole()->reload();
return Process::kill((int)Snowflake::getMasterPid());
}