From 9b919b6c344e52b7140f21e4f6f0aa3673da8a95 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Tue, 26 Dec 2017 19:05:29 -0500 Subject: [PATCH] Add missing units --- src/webui/www/public/scripts/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/www/public/scripts/client.js b/src/webui/www/public/scripts/client.js index 2e880dd89..1baeb18dd 100644 --- a/src/webui/www/public/scripts/client.js +++ b/src/webui/www/public/scripts/client.js @@ -388,10 +388,10 @@ window.addEvent('load', function () { $('TotalPeerConnections').set('html', serverState.total_peer_connections); $('ReadCacheHits').set('html', serverState.read_cache_hits); $('TotalBuffersSize').set('html', friendlyUnit(serverState.total_buffers_size, false)); - $('WriteCacheOverload').set('html', serverState.write_cache_overload); - $('ReadCacheOverload').set('html', serverState.read_cache_overload); + $('WriteCacheOverload').set('html', serverState.write_cache_overload + "%"); + $('ReadCacheOverload').set('html', serverState.read_cache_overload + "%"); $('QueuedIOJobs').set('html', serverState.queued_io_jobs); - $('AverageTimeInQueue').set('html', serverState.average_time_queue); + $('AverageTimeInQueue').set('html', serverState.average_time_queue + " ms"); $('TotalQueuedSize').set('html', friendlyUnit(serverState.total_queued_size, false)); }