From 70cfa641e6bbc0ba36969bbaae7d6c31b6d47cbe Mon Sep 17 00:00:00 2001 From: Nick Krecklow Date: Thu, 14 May 2020 20:43:55 -0500 Subject: [PATCH] remove legacy _isSkipSrv logic --- lib/dns.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dns.js b/lib/dns.js index c177284..b96ca16 100644 --- a/lib/dns.js +++ b/lib/dns.js @@ -18,8 +18,7 @@ class DNSResolver { } _isSkipSrv () { - const ignoreSkipSrv = typeof config.skipSrvTimeout === 'number' && config.skipSrvTimeout <= 0 - return !ignoreSkipSrv && this._skipSrvUntil && TimeTracker.getEpochMillis() <= this._skipSrvUntil + return this._skipSrvUntil && TimeTracker.getEpochMillis() <= this._skipSrvUntil } resolve (callback) {