Skip to main content

sent_throttle

Function sent_throttle 

Source
pub(super) fn sent_throttle(
    effective: Throttle,
    now: u64,
    sent_count: u64,
    delay: u64,
) -> Throttle
Expand description

A room’s throttle once a mail naming it has gone out.

A room without one starts at the delay, then each mail multiplies it, up to a day; reading the room starts it over, and without a delay it stays at none. sent_count is the global count a later read is compared with.