forked from M-Labs/artiq
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.
|
||||
"""
|
||||
self.server = await asyncio.start_server(self._handle_connection,
|
||||
host, port)
|
||||
host, port,
|
||||
limit=4*1024*1024)
|
||||
|
||||
async def stop(self):
|
||||
"""Stops the server."""
|
||||
|
|
Loading…
Reference in New Issue