set a 5-second connection timeout. client = motor.motor_asyncio.AsyncIOMotorClient(conn_str, serverSelectionTimeoutMS=5000).
確定! 回上一頁