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