From 8da455d5db4539b0e5d9eadbfe0680fa8220fc7c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 22 Feb 2016 02:11:36 +0800 Subject: [PATCH] protocols/sync_struct: raise asyncio line length limit --- artiq/protocols/sync_struct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/protocols/sync_struct.py b/artiq/protocols/sync_struct.py index 039fb2ac4..3d64450da 100644 --- a/artiq/protocols/sync_struct.py +++ b/artiq/protocols/sync_struct.py @@ -63,7 +63,7 @@ class Subscriber: async def connect(self, host, port, before_receive_cb=None): self.reader, self.writer = \ - await asyncio.open_connection(host, port) + await asyncio.open_connection(host, port, limit=4*1024*1024) try: if before_receive_cb is not None: before_receive_cb()