1
0
forked from M-Labs/artiq

protocols/asyncio_server: raise asyncio line length limit. Closes #285

This commit is contained in:
Sebastien Bourdeauducq 2016-02-22 12:06:23 +08:00
parent 8da455d5db
commit 25f6afd08a

View File

@ -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."""