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] } }