This commit is contained in:
as2252258@163.com
2021-02-28 14:34:28 +08:00
parent 820a2a37af
commit a9146b09fd
+1 -1
View File
@@ -394,7 +394,7 @@ class Snowflake
public static function reload(): mixed
{
$pid = Snowflake::app()->getSwoole()->master_pid;
return Process::kill($pid, SIGUSR1 & SIGUSR2);
return Process::kill($pid, SIGUSR1);
return Snowflake::app()->getSwoole()->reload();
}