Skip to content

Commit

Permalink
protocols/asyncio_server: raise asyncio line length limit. Closes #285
Browse files Browse the repository at this point in the history
sbourdeauducq committed Feb 22, 2016
1 parent 8da455d commit 25f6afd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion artiq/protocols/asyncio_server.py
Original file line number Diff line number Diff line change
@@ -24,7 +24,8 @@ async def start(self, host, port):
: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."""

0 comments on commit 25f6afd

Please sign in to comment.