diff --git a/src/utils/http.py b/src/utils/http.py index 0bbe92be..f465ab0d 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -305,7 +305,7 @@ def request_many(requests: typing.List[Request]) -> typing.Dict[str, Response]: awaits = [] for request in requests: awaits.append(_request(request)) - task = asyncio.wait(awaits, loop=loop, timeout=5) + task = asyncio.wait(awaits, timeout=5) loop.run_until_complete(task) loop.close()