From cc84865afe1945c5eed6d9fbea63e85dcac864ec Mon Sep 17 00:00:00 2001 From: Savio Resende Date: Thu, 28 Dec 2023 15:12:43 -0600 Subject: [PATCH] Test timeout enhancement.9 --- src/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 67f6a47..28358e1 100644 --- a/src/Client.php +++ b/src/Client.php @@ -115,9 +115,9 @@ public function connect(): void co::run(function () { go(fn () => $this->startConnection()); go(fn () => $this->pingTimer = Timer::tick(5000, function () { - if ($this->getClient() && $this->getClient()->isConnected()) { + // if ($this->getClient() && $this->getClient()->isConnected()) { $this->getClient()->ping(); - } + // } })); }); }