release 5.4.3

This commit is contained in:
Nick Krecklow 2020-05-14 20:38:17 -05:00
parent 9a38160019
commit c516b7c216
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94
4 changed files with 8 additions and 3 deletions

@ -1,3 +1,7 @@
**5.4.3** *(May 14 2020)*
- Added support for the optional field `config->skipSrvTimeout` in `config.json`. If a configured server does not return a valid response when unfurling potential SRV records, it will avoid re-unfurling SRV records for this duration in milliseconds. Use a value of `0` to disable this feature altogether.
- Removes support for the `config->performance->skipUnfurlSrv` and `config->performance->unfurlSrvCacheTtl` fields in `config.json
**5.4.2** *(May 13 2020)*
- Fixes a typo causing `_minecraft._tcp.*` SRV records to not resolve.

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

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "minetrack",
"version": "5.4.2",
"version": "5.4.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

@ -1,6 +1,6 @@
{
"name": "minetrack",
"version": "5.4.2",
"version": "5.4.3",
"description": "A Minecraft server tracker that lets you focus on the basics.",
"main": "main.js",
"dependencies": {