Skip to content

Commit

Permalink
Benchmarks: Removed useless logs
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia committed Jul 27, 2024
1 parent f5667d5 commit c560002
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions benchmark_server/servers/asyncio_udp_echoserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ async def echo_server(address: tuple[str, int]) -> NoReturn:

while True:
datagram, addr = await loop.sock_recvfrom(sock, 65536)
LOGGER.info(f"Connection from {addr}")
task_group.create_task(_echo_datagram_client(loop, sock, datagram, addr))

raise AssertionError("unreachable")
Expand All @@ -52,7 +51,6 @@ async def echo_server_stream(address: tuple[str, int]) -> NoReturn:
task_group = await stack.enter_async_context(asyncio.TaskGroup())
while True:
datagram, addr = await stream.recv()
LOGGER.info(f"Connection from {addr}")
task_group.create_task(_echo_datagram_client_stream(stream, datagram, addr))

raise AssertionError("unreachable")
Expand Down

0 comments on commit c560002

Please sign in to comment.