Skip to main content

needs_login

Function needs_login 

Source
fn needs_login() -> &'static Mutex<HashMap<String, Instant>>
Expand description

Targets the spawn gate refused, with when the gate was last checked.

A delivery attempt to such a target is not free: run_agent_turn writes an error frame into its pane and raises a failure event each time. So the replay never attempts one blind; it first runs the gate on its own, which has no side effect beyond a log line, at most every GATE_RECHECK_EVERY, and delivers once it passes. In memory: after a restart the first replay attempt finds the gate closed again and re-marks the target, one frame.