fix(baseliner): correct up_ewma to be taken from up time

This commit is contained in:
Nils Andreas Svee committed 2025-06-13 05:12:24 +00:00
1 parent 111d1cda95
commit 7cd1f9a069
1 file changed
+2 -2
+2 -2
View File
@@ -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,
};