release 5.4.3

This commit is contained in:
Nick Krecklow
2020-05-14 20:38:17 -05:00
parent 9a38160019
commit c516b7c216
4 changed files with 8 additions and 3 deletions

View File

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