Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ドキュメントが言うように:
dns モジュールのすべてのメソッドは、スレッド プールで getaddrinfo(3) を使用する dns.lookup を除き、C-Ares を使用します。
ただし、netおよびhttpモジュールは常に を使用しますdns.lookup。これを変更する方法はありますか?getaddrinfo同期であり、プールは 4 つの同時要求のみを許可します。
net
http
dns.lookup
getaddrinfo