pymongo 的 AsyncMongoClient 第一次连接的时候存在竞态问题,如果不先调用 await client.aconnect() 就大力 asyncio.create_task 会把连接池打飞。
 
 
Back to Top