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