Asyncio Log Long-Running Blocking Calls With aiodebug

You can identify and log asyncio tasks that block the event loop for too long. Calling Python functions in asyncio programs rather than awaiting coroutines and tasks will block the event loop. Function calls that take a long time, such as those that perform file I/O or a CPU-bound task may cause the event loop […]
 •  0 comments  •  flag
Share on Twitter
Published on January 25, 2024 10:00
No comments have been added yet.