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

Support for timeout while resolving DNS #65

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

Conversation

lukiano
Copy link

@lukiano lukiano commented Jul 17, 2020

Hi, I'd like to add support to timeouts while resolving DNS to this library. Let me know if this approach works for you.

The idea is that the timeout only applies when the result is not already cached.

Also in this implementation, if a task is already in progress the timeout for a second call will be ignored.

@coveralls
Copy link

coveralls commented Jul 17, 2020

Pull Request Test Coverage Report for Build 153

  • 11 of 11 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 147: 0.0%
Covered Lines: 155
Relevant Lines: 155

💛 - Coveralls

@przemek-oc
Copy link

+1 that would be really great to have.

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.

3 participants