Skip to content

Commit

Permalink
Set timeout to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
timirey committed Dec 27, 2024
1 parent 11098bf commit eb797c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Connections/SocketConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public function open(): bool
throw new SocketException("$errorCode: $errorMessage");
}

stream_set_timeout($this->socket, 0);

return true;
}

Expand Down

0 comments on commit eb797c5

Please sign in to comment.