forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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