remove legacy _isSkipSrv logic

This commit is contained in:
Nick Krecklow
2020-05-14 20:43:55 -05:00
parent e756584837
commit 70cfa641e6

View File

@ -18,8 +18,7 @@ class DNSResolver {
} }
_isSkipSrv () { _isSkipSrv () {
const ignoreSkipSrv = typeof config.skipSrvTimeout === 'number' && config.skipSrvTimeout <= 0 return this._skipSrvUntil && TimeTracker.getEpochMillis() <= this._skipSrvUntil
return !ignoreSkipSrv && this._skipSrvUntil && TimeTracker.getEpochMillis() <= this._skipSrvUntil
} }
resolve (callback) { resolve (callback) {