mirror of https://github.com/m-labs/artiq.git
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):
|
async def connect(self, host, port, before_receive_cb=None):
|
||||||
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:
|
||||||
if before_receive_cb is not None:
|
if before_receive_cb is not None:
|
||||||
before_receive_cb()
|
before_receive_cb()
|
||||||
|
|
Loading…
Reference in New Issue