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

This commit was merged in pull request #11.
This commit is contained in:
Nils Andreas Svee committed 2025-06-13 12:17:46 +07:00
1 parent 111d1cda95
commit fa20dd4137
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,
};