modify
This commit is contained in:
@@ -393,6 +393,8 @@ class Snowflake
|
||||
*/
|
||||
public static function reload(): mixed
|
||||
{
|
||||
$pid = Snowflake::app()->getSwoole()->master_pid;
|
||||
return Process::kill($pid, SIGUSR1 & SIGUSR2);
|
||||
return Snowflake::app()->getSwoole()->reload();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user