reactphp/dns

Limit number of concurrent DNS queries

clue opened this issue · 0 comments

clue commented

Add an executor to limit the number of concurrent DNS queries and queue or reject additional ones.

Additionally, sending the same query in parallel and waiting for a reply for each doesn't make much sense. In particular the caching executor should probably also take this into account.