Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

feat: support lookup with timeout #1

Merged
merged 3 commits into from
Sep 27, 2016
Merged

feat: support lookup with timeout #1

merged 3 commits into from
Sep 27, 2016

Conversation

fengmk2
Copy link
Contributor

@fengmk2 fengmk2 commented Sep 26, 2016

@codecov-io
Copy link

codecov-io commented Sep 26, 2016

Current coverage is 100% (diff: 100%)

Merging #1 into master will not change coverage

@@           master    #1   diff @@
===================================
  Files           1     1          
  Lines          28    50    +22   
  Methods         1     2     +1   
  Messages        0     0          
  Branches        5    11     +6   
===================================
+ Hits           28    50    +22   
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update 00f3417...3b09511

cb(err);
}, options.timeout);

dns.lookup(hostname, options, (err, ip, family) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没想到竟然还不支持 timeout 。。。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

额,原生不支持。。。

@dead-horse dead-horse merged commit bf8f27c into master Sep 27, 2016
@dead-horse dead-horse deleted the timeout branch September 27, 2016 04:41
@dead-horse
Copy link

@fengmk2 发版本吧

@fengmk2
Copy link
Contributor Author

fengmk2 commented Sep 27, 2016

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

Successfully merging this pull request may close these issues.

3 participants