Commit ea896cfa authored by Jonas Kaufmann's avatar Jonas Kaufmann
Browse files

symphony/runtime/command_exector.py: read more than a single line at once

parent 98dbc60a
......@@ -89,7 +89,7 @@ class CommandExecutor:
self, stream: asyncio.StreamReader, consume_fn: typing.Callable[[bytes], None]
) -> None:
while True:
bs = await stream.readline()
bs = await stream.read(4096)
if bs:
await consume_fn(bs)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment