modify
This commit is contained in:
@@ -393,7 +393,7 @@ class Snowflake
|
|||||||
*/
|
*/
|
||||||
public static function reload(): mixed
|
public static function reload(): mixed
|
||||||
{
|
{
|
||||||
return Process::kill((int)Snowflake::getMasterPid(), SIGUSR1);
|
return Snowflake::app()->getSwoole()->reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user