更新系统信息获取速率相关的提示文本

*linux这边测试200~300ms就可以完成一次处理
This commit is contained in:
Chenx221 2024-04-15 16:42:56 +08:00
parent 38720806eb
commit 83c68999e5
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -1,5 +1,5 @@
//dynamic fetch of system information & display //dynamic fetch of system information & display
//every 5 seconds ajax request to fetch system information //every * seconds ajax request to fetch system information
//backport: admin/get-sysinfo //backport: admin/get-sysinfo
//return json object with system information //return json object with system information
@ -8,7 +8,7 @@ var sysinfo = {
setInterval(sysinfo.fetch, 2000); setInterval(sysinfo.fetch, 2000);
// WARNING // WARNING
// For Windows users, the interval should be equal or greater than 1500ms, because the system information gathering process is slow. (Please dynamically adjust the interval based on system performance.) // For Windows users, the interval should be equal or greater than 1500ms, because the system information gathering process is slow. (Please dynamically adjust the interval based on system performance.)
// For Linux users, the interval can be set to below 1000ms. // For Linux users, the interval can be set to 500ms (Recommend: 1000ms)
}, },
fetch: function () { fetch: function () {
$.ajax({ $.ajax({