From 09927a6ec1c9bc2362f964cf541487f13bb3df34 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 4 May 2022 10:25:59 -0600 Subject: [PATCH] Tidy --- core/wfc.js | 3 ++- docs/_docs/modding/wfc.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/wfc.js b/core/wfc.js index 59e398b2..36ed52e9 100644 --- a/core/wfc.js +++ b/core/wfc.js @@ -35,6 +35,7 @@ const MciViewIds = { // Secure + 2FA + root user + 'wfc' group. const DefaultACS = 'SCAF2ID1GM[wfc]'; +const MainStatRefreshTimeMs = 5000; // 5s exports.getModule = class WaitingForCallerModule extends MenuModule { constructor(options) { @@ -118,7 +119,7 @@ exports.getModule = class WaitingForCallerModule extends MenuModule { _startRefreshing() { this.mainRefreshTimer = setInterval( () => { this._refreshAll(); - }, 5000); + }, MainStatRefreshTimeMs); } _stopRefreshing() { diff --git a/docs/_docs/modding/wfc.md b/docs/_docs/modding/wfc.md index d4dd73b0..d8a2fbe6 100644 --- a/docs/_docs/modding/wfc.md +++ b/docs/_docs/modding/wfc.md @@ -18,6 +18,7 @@ To change the ACS required, specify a alternative `acs` in the `config` block. F mainMenuWaitingForCaller: { // ... config: { + // initial +op over secure connection only acs: SCID1GM[sysops] } }