This commit is contained in:
as2252258@163.com
2021-02-27 04:59:18 +08:00
parent fb1d5172ca
commit b0439544e3
+1 -1
View File
@@ -393,7 +393,7 @@ class Snowflake
*/ */
public static function reload(): mixed public static function reload(): mixed
{ {
return Process::kill((int)Snowflake::getMasterPid(), SIGUSR1); return Snowflake::app()->getSwoole()->reload();
} }