gfe-relnote: Deprecate gfe2_reloadable_flag_quic_skip_packet_threshold_loss_detection_with_runt.
PiperOrigin-RevId: 307639221
Change-Id: Iaa8dc5e5f333dec32e555739e045f01c27d8be22
diff --git a/quic/core/congestion_control/general_loss_algorithm.cc b/quic/core/congestion_control/general_loss_algorithm.cc
index d54f620..1e67db6 100644
--- a/quic/core/congestion_control/general_loss_algorithm.cc
+++ b/quic/core/congestion_control/general_loss_algorithm.cc
@@ -86,10 +86,6 @@
!use_packet_threshold_for_runt_packets_ &&
it->bytes_sent >
unacked_packets.GetTransmissionInfo(largest_newly_acked).bytes_sent;
- if (skip_packet_threshold_detection) {
- QUIC_RELOADABLE_FLAG_COUNT_N(
- quic_skip_packet_threshold_loss_detection_with_runt, 2, 2);
- }
if (!skip_packet_threshold_detection &&
largest_newly_acked - packet_number >= reordering_threshold_) {
packets_lost->push_back(LostPacket(packet_number, it->bytes_sent));
diff --git a/quic/core/quic_sent_packet_manager.cc b/quic/core/quic_sent_packet_manager.cc
index 5e672c1..c727d93 100644
--- a/quic/core/quic_sent_packet_manager.cc
+++ b/quic/core/quic_sent_packet_manager.cc
@@ -281,11 +281,7 @@
uber_loss_algorithm_.EnableAdaptiveReorderingThreshold();
uber_loss_algorithm_.EnableAdaptiveTimeThreshold();
}
- if (GetQuicReloadableFlag(
- quic_skip_packet_threshold_loss_detection_with_runt) &&
- config.HasClientRequestedIndependentOption(kRUNT, perspective)) {
- QUIC_RELOADABLE_FLAG_COUNT_N(
- quic_skip_packet_threshold_loss_detection_with_runt, 1, 2);
+ if (config.HasClientRequestedIndependentOption(kRUNT, perspective)) {
uber_loss_algorithm_.DisablePacketThresholdForRuntPackets();
}
if (config.HasClientSentConnectionOption(kCONH, perspective)) {
diff --git a/quic/core/quic_sent_packet_manager_test.cc b/quic/core/quic_sent_packet_manager_test.cc
index 5996539..e846058 100644
--- a/quic/core/quic_sent_packet_manager_test.cc
+++ b/quic/core/quic_sent_packet_manager_test.cc
@@ -3717,8 +3717,6 @@
EXPECT_TRUE(
QuicSentPacketManagerPeer::UsePacketThresholdForRuntPackets(&manager_));
- SetQuicReloadableFlag(quic_skip_packet_threshold_loss_detection_with_runt,
- true);
QuicConfig config;
QuicTagVector options;
options.push_back(kRUNT);