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