diff --git a/System/Snowflake.php b/System/Snowflake.php index cb4b538b..dcf39dd1 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -394,6 +394,9 @@ class Snowflake public static function reload(): mixed { // $pid = Snowflake::app()->getSwoole()->master_pid; + + var_dump(Snowflake::getMasterPid()); + return Process::kill((int)Snowflake::getMasterPid(), SIGUSR1); // return Snowflake::app()->getSwoole()->reload(); }