Commit eb6e8940 authored by Yury Selivanov's avatar Yury Selivanov

Use explicit read buffer size in curio/streams bench

parent d64a46b3
......@@ -10,7 +10,7 @@ async def echo_handler(client, addr):
reader, writer = client.make_streams()
async with reader, writer:
while True:
data = await reader.read()
data = await reader.read(102400)
if not data:
break
await writer.write(data)
......
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