MCPcopy Create free account
hub / github.com/cppla/ServerStatus / shouldSuppressStatsReload

Function shouldSuppressStatsReload

web/js/app.js:160–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159}
160function shouldSuppressStatsReload(){
161 return S.admin.saving || S.activeTab === 'config' || Date.now() < S.suppressStatsReloadUntil;
162}
163function pushHistory(arr, value){
164 if(typeof value === 'number' && Number.isFinite(value) && value >= 0) arr.push(value);
165 if(arr.length > 120) arr.splice(0, arr.length - 120);

Callers 1

fetchDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected