aiodataloader
aiodataloader copied to clipboard
Blocking behavior of dispatch_queue_batch
You could insert e.g. await asyncio.sleep(0) in dispatch_queue_batch function. It's async but has blocking behavior if there are lots of data to process.