Fix typo and clarify the expired cache entries count

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-06-14 15:17:56 +02:00
parent c790232de4
commit a69726b4da
2 changed files with 3 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ function updateMetrics() {
// Set metrics
setMetrics(metrics, "sysinfo-");
$("#cache-utilization").text(((100 * cacheEntries) / cacheSize).toFixed(1) + "%");
$("#cache-utilization").text(cacheEntries.toLocaleString() + " (" + ((100 * cacheEntries) / cacheSize).toFixed(1) + "%)");
$("div[id^='sysinfo-metrics-overlay']").hide();
// Update every 10 seconds