Deprecate gfe2_reloadable_flag_quic_enable_overshooting_detection.
PiperOrigin-RevId: 331589338
Change-Id: I5a1dda1b3e446f4a2c788dd18f9b08a0366eb1b9
diff --git a/quic/core/congestion_control/bbr_sender.cc b/quic/core/congestion_control/bbr_sender.cc
index 7389067..4de1a07 100644
--- a/quic/core/congestion_control/bbr_sender.cc
+++ b/quic/core/congestion_control/bbr_sender.cc
@@ -291,9 +291,7 @@
max_congestion_window_with_network_parameters_adjusted_ =
100 * kDefaultTCPMSS;
}
- if (GetQuicReloadableFlag(quic_enable_overshooting_detection) &&
- config.HasClientRequestedIndependentOption(kDTOS, perspective)) {
- QUIC_RELOADABLE_FLAG_COUNT(quic_enable_overshooting_detection);
+ if (config.HasClientRequestedIndependentOption(kDTOS, perspective)) {
detect_overshooting_ = true;
// DTOS would allow pacing rate drop to IW 10 / min_rtt if overshooting is
// detected.
diff --git a/quic/core/congestion_control/bbr_sender_test.cc b/quic/core/congestion_control/bbr_sender_test.cc
index e0ec278..b476b55 100644
--- a/quic/core/congestion_control/bbr_sender_test.cc
+++ b/quic/core/congestion_control/bbr_sender_test.cc
@@ -1277,9 +1277,6 @@
}
TEST_F(BbrSenderTest, EnableOvershootingDetection) {
- if (!GetQuicReloadableFlag(quic_enable_overshooting_detection)) {
- return;
- }
SetConnectionOption(kDTOS);
CreateSmallBufferSetup();
// Set a overly large initial cwnd.