fix(baseliner): correct up_ewma to be taken from up time
This commit is contained in:
1 parent
111d1cda95
commit
7cd1f9a069
1 file changed
+2
-2
+2
-2
@@ -48,13 +48,13 @@ impl Baseliner {
|
||||
|
||||
let owd_baseline_new = ReflectorStats {
|
||||
down_ewma: time_data.down_time,
|
||||
up_ewma: time_data.down_time,
|
||||
up_ewma: time_data.up_time,
|
||||
last_receive_time_s: time_data.last_receive_time_s,
|
||||
};
|
||||
|
||||
let owd_recent_new = ReflectorStats {
|
||||
down_ewma: time_data.down_time,
|
||||
up_ewma: time_data.down_time,
|
||||
up_ewma: time_data.up_time,
|
||||
last_receive_time_s: time_data.last_receive_time_s,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user