add ability to skip unfurlSrv calls to avoid ping cost

This commit is contained in:
Nick Krecklow
2020-05-07 23:46:59 -05:00
parent ac06ae884e
commit a3c88dc0c5
3 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,10 @@ servers.forEach((server, serverId) => {
app.serverRegistrations.push(new ServerRegistration(serverId, server))
})
if (config.performance && config.performance.skipUnfurlSrv) {
logger.log('warn', '"performance.skipUnfurlSrv" is enabled. Any configured hosts using SRV records may not properly resolve.')
}
if (!config.logToDatabase) {
logger.log('warn', 'Database logging is not enabled. You can enable it by setting "logToDatabase" to true in config.json. This requires sqlite3 to be installed.')