forked from M-Labs/artiq
protocols/sync_struct: raise asyncio line length limit
This commit is contained in:
parent
e177bbd480
commit
8da455d5db
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue