Skip to content

Commit

Permalink
Disable timeout in httpx.AsyncClient in HttpClient (#773)
Browse files Browse the repository at this point in the history
Disable timeout in httpx.AsyncClient in HttpClient

Formatting
  • Loading branch information
dongreenberg committed May 2, 2024
1 parent afee4e2 commit 198f6a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runhouse/servers/http/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ def __init__(
# setting of "True", which will verify the cluster's SSL certs
self.verify = self.cert_path if self._certs_are_self_signed() else True

self.async_session = httpx.AsyncClient(auth=self.auth, verify=self.verify)
self.async_session = httpx.AsyncClient(
auth=self.auth, verify=self.verify, timeout=None
)

self.log_formatter = ClusterLogsFormatter(self.system)

Expand Down

0 comments on commit 198f6a0

Please sign in to comment.