Skip to main content

HANDOVER_RETENTION

Constant HANDOVER_RETENTION 

Source
pub const HANDOVER_RETENTION: Duration;
Expand description

How long past its retention a dead stream is kept for a handover it published that nobody has taken: a day. A handover is continuity meant to outlive the run that wrote it, so it holds its stream longer than anything else does, but only this long: a stream held is a slot of its node’s quota (MAX_STREAMS_PER_NODE), and a machine whose runs each handed over something nobody took would otherwise fill its quota with the dead and have every later run refused. A handover somebody has taken holds nothing. One that lapses is still its author’s record, and publishing it again offers it again under the same id.