Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout to DNS queries #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jeteon
Copy link

@jeteon jeteon commented Feb 7, 2017

Added a timeout to DNS queries. Not having this could make the initial bootstrapping process take a really long time. This happens when a significant proportion of the resolvers being used either don't respond or are otherwise broken. The default timeout makes it wait like 30s if I'm not mistaken so coming across 10 of these could make the code spend 5 minutes running with no viable nameservers available to the workers. This is especially problematic when a large number of processes is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant