-
Notifications
You must be signed in to change notification settings - Fork 37
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
Usedns.asyncresolver
for asynchronous lookups instead of blocking 'dns.resolver.resolve'
#211
Comments
DNS resolving is pretty fast and usually only happens once, on The more complicated part to address is the
I don't think there are any other cases of us performing DNS lookups like these. Though I do have another solution for the problem of With the sync TCP versions, we can get away with passing |
dns.asyncresolver
dns.asyncresolver
for asynchronous lookups instead of blocking 'dns.resolver.resolve'
Across the code for the asynchronous functions please replace usage of sync dns resolving.
Example -
MinecraftServer.async_query
:can be replaced with:
The text was updated successfully, but these errors were encountered: