mirror of https://github.com/m-labs/artiq.git
protocols/asyncio_server: raise asyncio line length limit. Closes #285
This commit is contained in:
parent
8da455d5db
commit
25f6afd08a
|
@ -24,7 +24,8 @@ class AsyncioServer:
|
||||||
:param port: TCP port to bind to.
|
:param port: TCP port to bind to.
|
||||||
"""
|
"""
|
||||||
self.server = await asyncio.start_server(self._handle_connection,
|
self.server = await asyncio.start_server(self._handle_connection,
|
||||||
host, port)
|
host, port,
|
||||||
|
limit=4*1024*1024)
|
||||||
|
|
||||||
async def stop(self):
|
async def stop(self):
|
||||||
"""Stops the server."""
|
"""Stops the server."""
|
||||||
|
|
Loading…
Reference in New Issue