From 25f6afd08a29413643f4345be788d35e906acb41 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 22 Feb 2016 12:06:23 +0800 Subject: [PATCH] protocols/asyncio_server: raise asyncio line length limit. Closes #285 --- artiq/protocols/asyncio_server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/protocols/asyncio_server.py b/artiq/protocols/asyncio_server.py index 70b6eb194..e7e300eed 100644 --- a/artiq/protocols/asyncio_server.py +++ b/artiq/protocols/asyncio_server.py @@ -24,7 +24,8 @@ class AsyncioServer: :param port: TCP port to bind to. """ self.server = await asyncio.start_server(self._handle_connection, - host, port) + host, port, + limit=4*1024*1024) async def stop(self): """Stops the server."""