This commit is contained in:
2021-03-02 15:33:41 +08:00
parent 3b5030144b
commit e8b7e8f196
+1
View File
@@ -376,6 +376,7 @@ class Snowflake
*/
public static function reload(): mixed
{
return Snowflake::app()->getSwoole()->reload();
return Process::kill((int)Snowflake::getMasterPid(), SIGUSR1);
}