diff --git a/src/Tracy/RedisPanel.php b/src/Tracy/RedisPanel.php index 1be664b..415e3ea 100644 --- a/src/Tracy/RedisPanel.php +++ b/src/Tracy/RedisPanel.php @@ -40,6 +40,8 @@ public function getPanel(): string $connections = $this->connections; foreach ($connections as $key => $connection) { + $connection['client']->disconnect(); + $start = microtime(true); try { $connections[$key]['ping'] = $connection['client']->ping('ok');