mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Try an average
This commit is contained in:
parent
9ec0811207
commit
89e2104c9a
@ -255,7 +255,7 @@ export class ThroughputBpsDash extends BaseDashlet{
|
||||
// Get the median from dlRing
|
||||
let dlMedian = 0;
|
||||
if (this.dlRing.length > 0) {
|
||||
upMedian = this.dlRing.reduce((a, b) => a + b) / this.dlRing.length;
|
||||
dlMedian = this.dlRing.reduce((a, b) => a + b) / this.dlRing.length;
|
||||
}
|
||||
|
||||
// Big numbers are smoothed medians
|
||||
|
Loading…
Reference in New Issue
Block a user