Skip to main content

MAX_STALE_DRAIN_PER_POLL

Constant MAX_STALE_DRAIN_PER_POLL 

Source
pub const MAX_STALE_DRAIN_PER_POLL: usize = 8;
Expand description

How many stale replies one take_correlated call drops before it gives up for this poll and reports “nothing yet”. Bounds the work a burst of stray replies can make a single poll do; the rest are dropped by the next poll.