summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/asyncrpc/client.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/asyncrpc/client.py b/bitbake/lib/bb/asyncrpc/client.py
index 11179b0fcb..9be49261c0 100644
--- a/bitbake/lib/bb/asyncrpc/client.py
+++ b/bitbake/lib/bb/asyncrpc/client.py
@@ -112,7 +112,11 @@ class AsyncClient(object):
112 ) 112 )
113 113
114 async def connect_sock(): 114 async def connect_sock():
115 websocket = await websockets.connect(uri, ping_interval=None) 115 websocket = await websockets.connect(
116 uri,
117 ping_interval=None,
118 open_timeout=self.timeout,
119 )
116 return WebsocketConnection(websocket, self.timeout) 120 return WebsocketConnection(websocket, self.timeout)
117 121
118 self._connect_sock = connect_sock 122 self._connect_sock = connect_sock