2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

protocols/pc_rpc: raise asyncio line length limit for client

This commit is contained in:
Sebastien Bourdeauducq 2016-02-22 13:04:21 +08:00
parent 14683f297a
commit 9a6354b959

View File

@ -191,7 +191,7 @@ class AsyncioClient:
this method is a coroutine. See ``Client`` for a description of the
parameters."""
self.__reader, self.__writer = \
await asyncio.open_connection(host, port)
await asyncio.open_connection(host, port, limit=4*1024*1024)
try:
self.__writer.write(_init_string)
server_identification = await self.__recv()