uasyncio: benchmark: Set higher queue length for "medium" test.

Following setting the default conservatively low in the module.
Surprisingly, heavy test appears to work with new default length
of 42.
pull/158/head
Paul Sokolovsky 2017-02-15 11:17:02 +03:00
rodzic e3dac1d693
commit 6a4973331a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -15,7 +15,7 @@ def serve(reader, writer):
import logging
#logging.basicConfig(level=logging.INFO)
logging.basicConfig(level=logging.DEBUG)
loop = asyncio.get_event_loop()
loop = asyncio.get_event_loop(80)
#mem_info()
loop.create_task(asyncio.start_server(serve, "127.0.0.1", 8081, backlog=100))
loop.run_forever()