Skip to main content

MIN_PERSIST_RATE

Constant MIN_PERSIST_RATE 

Source
pub const MIN_PERSIST_RATE: u64 = _; // 1_048_576u64
Expand description

The slowest rate, in bytes per second, at which a serving session expects its peer to verify and durably persist an artifact it pulled. While an offered artifact is unacknowledged, the session waits for the peer’s next request for the channel’s I/O timeout plus the largest such artifact’s length at this rate (serve), so a large hand-off on slow storage is still acknowledged over the channel instead of timing out before its acknowledgement arrives.