From 434c5cf7d1b597712a8dba96cb1475bc2ab6a3cc Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 27 Feb 2021 02:51:54 +0800 Subject: [PATCH] modify --- System/Snowflake.php | 1 + 1 file changed, 1 insertion(+) diff --git a/System/Snowflake.php b/System/Snowflake.php index 5d214b3c..28ed277d 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -388,6 +388,7 @@ class Snowflake */ public static function reload(): mixed { + return static::app()->getSwoole()->reload(); return Process::kill((int)Snowflake::getMasterPid()); }