rounding
This commit is contained in:
1 parent
91be276799
commit
f88dc0cd14
1 file changed
+3
-1
@@ -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