From 83c68999e543b6f8e33b8eac7485b477f3177fd6 Mon Sep 17 00:00:00 2001 From: chenx221 Date: Mon, 15 Apr 2024 16:42:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=B3=BB=E7=BB=9F=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E8=8E=B7=E5=8F=96=E9=80=9F=E7=8E=87=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E7=9A=84=E6=8F=90=E7=A4=BA=E6=96=87=E6=9C=AC=20*linux=E8=BF=99?= =?UTF-8?q?=E8=BE=B9=E6=B5=8B=E8=AF=95200~300ms=E5=B0=B1=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=B8=80=E6=AC=A1=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/js/sysinfo-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/js/sysinfo-core.js b/web/js/sysinfo-core.js index fbdfca5..bb6fdc8 100644 --- a/web/js/sysinfo-core.js +++ b/web/js/sysinfo-core.js @@ -1,5 +1,5 @@ //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 //return json object with system information @@ -8,7 +8,7 @@ var sysinfo = { setInterval(sysinfo.fetch, 2000); // 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 Linux users, the interval can be set to below 1000ms. + // For Linux users, the interval can be set to 500ms (Recommend: 1000ms) }, fetch: function () { $.ajax({