diff --git a/System/Snowflake.php b/System/Snowflake.php index 28ed277d..af1153ac 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -388,8 +388,7 @@ class Snowflake */ public static function reload(): mixed { - return static::app()->getSwoole()->reload(); - return Process::kill((int)Snowflake::getMasterPid()); + return Process::kill((int)Snowflake::app()->getSwoole()->getMasterPid(),SIGUSR1); }