Skip to content

Commit 1b239ab

Browse files
committed
removed Instant::now() from initialization
1 parent 289c67b commit 1b239ab

File tree

1 file changed

+2
-2
lines changed
  • quinn-proto/src/congestion/bbr3

1 file changed

+2
-2
lines changed

quinn-proto/src/congestion/bbr3/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,14 +519,14 @@ impl Bbr3 {
519519
bw_latest: 0.0,
520520
inflight_latest: 0,
521521
max_bw_filter: MaxFilter::new(MAX_BW_FILTER_LEN as u64),
522-
extra_acked_interval_start: Some(Instant::now()),
522+
extra_acked_interval_start: None,
523523
extra_acked_delivered: 0,
524524
extra_acked_filter: MaxFilter::new(EXTRA_ACKED_FILTER_LEN as u64),
525525
full_bw_reached: false,
526526
full_bw_now: false,
527527
full_bw: 0.0,
528528
full_bw_count: 0,
529-
min_rtt_stamp: Some(Instant::now()),
529+
min_rtt_stamp: None,
530530
min_rtt_filter_len: MIN_RTT_FILTER_LEN,
531531
probe_rtt_cwnd_gain,
532532
probe_rtt_duration: Duration::from_millis(PROBE_RTT_DURATION_MS),

0 commit comments

Comments
 (0)