Skip to main content

DEFAULT_MIN_NOTICE_INTERVAL_NS

Constant DEFAULT_MIN_NOTICE_INTERVAL_NS 

Source
pub const DEFAULT_MIN_NOTICE_INTERVAL_NS: u64 = 1_000_000_000;
Expand description

Default minimum interval between successive notices to the same peer (1 second). Acts as a hard lower bound on the duplicate-suppression window so a flood of inbound envelopes from one peer produces at most one notice per second even when the receiver lacks a tighter per-cause min_backoff_ns hint.