Skip to content

Support for timeout while resolving DNS#65

Open
lukiano wants to merge 1 commit intoLCMApps:masterfrom
lukiano:master
Open

Support for timeout while resolving DNS#65
lukiano wants to merge 1 commit intoLCMApps:masterfrom
lukiano:master

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