rounding
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user