remove legacy _isSkipSrv logic
This commit is contained in:
parent
e756584837
commit
70cfa641e6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user