Skip to content

Commit

Permalink
Test timeout enhancement.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Dec 28, 2023
1 parent cc84865 commit 9da49a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
// }
}
}));
});
}
Expand Down

0 comments on commit 9da49a9

Please sign in to comment.