mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Tracking current stage on pipeline unwind (#6558)
This commit is contained in:
@ -217,6 +217,17 @@ impl<DB> NodeState<DB> {
|
||||
self.current_stage = None;
|
||||
}
|
||||
}
|
||||
PipelineEvent::Unwind { stage_id, input } => {
|
||||
let current_stage = CurrentStage {
|
||||
stage_id,
|
||||
eta: Eta::default(),
|
||||
checkpoint: input.checkpoint,
|
||||
target: Some(input.unwind_to),
|
||||
entities_checkpoint: input.checkpoint.entities(),
|
||||
};
|
||||
|
||||
self.current_stage = Some(current_stage);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user