diff options
Diffstat (limited to 'bitbake/lib/bb/asyncrpc/client.py')
-rw-r--r-- | bitbake/lib/bb/asyncrpc/client.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/asyncrpc/client.py b/bitbake/lib/bb/asyncrpc/client.py index a350b4fb12..6fa2839f48 100644 --- a/bitbake/lib/bb/asyncrpc/client.py +++ b/bitbake/lib/bb/asyncrpc/client.py | |||
@@ -87,7 +87,11 @@ class AsyncClient(object): | |||
87 | import websockets | 87 | import websockets |
88 | 88 | ||
89 | async def connect_sock(): | 89 | async def connect_sock(): |
90 | websocket = await websockets.connect(uri, ping_interval=None) | 90 | websocket = await websockets.connect( |
91 | uri, | ||
92 | ping_interval=None, | ||
93 | open_timeout=self.timeout, | ||
94 | ) | ||
91 | return WebsocketConnection(websocket, self.timeout) | 95 | return WebsocketConnection(websocket, self.timeout) |
92 | 96 | ||
93 | self._connect_sock = connect_sock | 97 | self._connect_sock = connect_sock |