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