engine (0.3.21): the heat-mode release restarts every slot; there is no faulted state to skip

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
igneum-labs 2026-10-07 13:14:13 +00:00
parent e78ace39bc
commit 0730606201

View file

@ -3859,10 +3859,11 @@ impl Engine {
self.shared.log(&format!("heat: release ({why}); the miners restart"));
let now = Instant::now();
for m in self.miners.iter_mut() {
if m.watch.faulted().is_none() {
// no permanent fault (7 October 2026): every slot restarts; a ladder delay in force stays as scheduled
if m.restart_at.map(|at| at <= now).unwrap_or(true) {
m.restart_at = Some(now);
m.prepared = false;
}
m.prepared = false;
}
}
}