Fix throughtput calculation in web ui
This commit is contained in:
parent
73eb13944c
commit
185ba21e0f
|
@ -194,7 +194,7 @@ function updateDiskSpace() {
|
|||
space.text(calculateSize(data.spaceFree) + ' / ' + calculateSize(data.spaceTotal));
|
||||
throughput.bytes(data.throughput);
|
||||
throughput.timeframe(data.throughputTimeframe);
|
||||
let bytesPerSecond = data.throughput / data.throughputTimeframe;
|
||||
let bytesPerSecond = data.throughput / data.throughputTimeframe * 1000;
|
||||
throughput.text(calculateSize(bytesPerSecond) + '/s');
|
||||
} else {
|
||||
if (console)
|
||||
|
|
Loading…
Reference in New Issue