roster-server 2.1.32 → 2.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roster-server",
3
- "version": "2.1.32",
3
+ "version": "2.1.34",
4
4
  "description": "👾 RosterServer - A domain host router to host multiple HTTPS.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -75,7 +75,7 @@ module.exports.create = function create(config = {}) {
75
75
  ? config.dnsPollIntervalMs
76
76
  : Number.isFinite(Number(process.env.ROSTER_DNS_POLL_INTERVAL_MS))
77
77
  ? Number(process.env.ROSTER_DNS_POLL_INTERVAL_MS)
78
- : 5000;
78
+ : 15000;
79
79
  const parseTimeoutMs = (value, fallback) => {
80
80
  if (value === undefined || value === null || value === '') return fallback;
81
81
  const normalized = String(value).trim().toLowerCase();
@@ -86,10 +86,10 @@ module.exports.create = function create(config = {}) {
86
86
  };
87
87
  const dnsPollTimeoutMs = config.dnsPollTimeoutMs !== undefined
88
88
  ? parseTimeoutMs(config.dnsPollTimeoutMs, propagationDelay)
89
- : parseTimeoutMs(process.env.ROSTER_DNS_POLL_TIMEOUT_MS, propagationDelay);
89
+ : parseTimeoutMs(process.env.ROSTER_DNS_POLL_TIMEOUT_MS, propagationDelay * 2);
90
90
  const dryRunPollTimeoutMs = config.dryRunPollTimeoutMs !== undefined
91
91
  ? parseTimeoutMs(config.dryRunPollTimeoutMs, dryRunDelay)
92
- : parseTimeoutMs(process.env.ROSTER_DNS_DRYRUN_POLL_TIMEOUT_MS, dryRunDelay);
92
+ : parseTimeoutMs(process.env.ROSTER_DNS_DRYRUN_POLL_TIMEOUT_MS, dryRunDelay * 2);
93
93
  const dnsPollDebug = config.dnsPollDebug !== undefined
94
94
  ? parseBool(config.dnsPollDebug, true)
95
95
  : parseBool(process.env.ROSTER_DNS_POLL_DEBUG, true);