forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

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