chore: remove GRACE_PERIOD dead code (#8595)

This commit is contained in:
Dan Cline
2024-06-04 12:22:37 -04:00
committed by GitHub
parent 05255bec31
commit d8096aec45

View File

@ -50,11 +50,6 @@ const PING_TIMEOUT: Duration = Duration::from_secs(15);
/// when the peer is responsive.
const PING_INTERVAL: Duration = Duration::from_secs(60);
/// [`GRACE_PERIOD`] determines the amount of time to wait for a peer to disconnect after sending a
/// [`P2PMessage::Disconnect`] message.
#[allow(dead_code)]
const GRACE_PERIOD: Duration = Duration::from_secs(2);
/// [`MAX_P2P_CAPACITY`] is the maximum number of messages that can be buffered to be sent in the
/// `p2p` stream.
///