This commit is contained in:
2021-03-02 18:51:45 +08:00
parent 9d1df92ad0
commit bd2f7b72a0
5 changed files with 10 additions and 5 deletions
-5
View File
@@ -24,13 +24,8 @@ class OnBeforeReload extends Callback
*/
public function onHandler(Server $server)
{
Timer::clearAll();
$event = Snowflake::app()->getEvent();
$event->trigger(Event::SERVER_BEFORE_RELOAD, [$server]);
$this->clearMysqlClient();
$this->clearRedisClient();
}
}