This commit is contained in:
2020-08-31 18:58:32 +02:00
parent 91be276799
commit f88dc0cd14

View File

@@ -188,7 +188,9 @@ function getStats(order) {
document.getElementById("file_stats_watchers").innerText = resp.stats_watcher_threads;
document.getElementById("file_stats_listeners").innerText = resp.stats_watcher_listeners;
document.getElementById("file_stats_avg").innerText = resp.stats_watcher_listeners / resp.stats_watcher_threads;
document.getElementById("file_stats_avg").innerText = (
resp.stats_watcher_listeners / resp.stats_watcher_threads
).toPrecision(3);
resp.db_connection_stats.forEach(v => {
let row = document.createElement("tr")