Define kAlarmGranularity and use it in the non-test QUIC code.

gfe-relnote: n/a (Define a constant)
PiperOrigin-RevId: 286223502
Change-Id: I71046cd1bcb9f20aadcbab9748697ca1554b34a4
diff --git a/quic/core/quic_received_packet_manager.cc b/quic/core/quic_received_packet_manager.cc
index 908d04f..86b060e 100644
--- a/quic/core/quic_received_packet_manager.cc
+++ b/quic/core/quic_received_packet_manager.cc
@@ -250,7 +250,7 @@
       // Ack the first packet out of queiscence faster, because QUIC does
       // not pace the first few packets and commonly these may be handshake
       // or TLP packets, which we'd like to acknowledge quickly.
-      ack_delay = QuicTime::Delta::FromMilliseconds(1);
+      ack_delay = kAlarmGranularity;
     }
     MaybeUpdateAckTimeoutTo(now + ack_delay);
   } else {
@@ -264,7 +264,7 @@
       // Ack the first packet out of queiscence faster, because QUIC does
       // not pace the first few packets and commonly these may be handshake
       // or TLP packets, which we'd like to acknowledge quickly.
-      MaybeUpdateAckTimeoutTo(now + QuicTime::Delta::FromMilliseconds(1));
+      MaybeUpdateAckTimeoutTo(now + kAlarmGranularity);
     } else {
       MaybeUpdateAckTimeoutTo(now + local_max_ack_delay_);
     }