Runtimewarning: Enable Tracemalloc To Get The Object Allocation Traceback With Asyncio.sleep
Trying to use a semaphore to control asynchronous requests to control the requests to my target host but I am getting the following error which I have assume means that my asycio.s
Solution 1:
asyncio.sleep(delay)
Change it to:
await asyncio.sleep(delay)
asyncio.sleep
is a coroutine and should be awaited.
Post a Comment for "Runtimewarning: Enable Tracemalloc To Get The Object Allocation Traceback With Asyncio.sleep"