Skip to content

Add timeout to DNS queries#53

Open
jeteon wants to merge 1 commit into
TheRook:masterfrom
jeteon:patch-2
Open

Add timeout to DNS queries#53
jeteon wants to merge 1 commit into
TheRook:masterfrom
jeteon:patch-2

Conversation

@jeteon
Copy link
Copy Markdown

@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