remove legacy _isSkipSrv logic

This commit is contained in:
Nick Krecklow 2020-05-14 20:43:55 -05:00
parent e756584837
commit 70cfa641e6
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94

@ -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) {