mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-27 16:18:08 -05:00
fix: set pipeline state back to idel (#9795)
This commit is contained in:
@@ -139,7 +139,10 @@ where
|
||||
}
|
||||
};
|
||||
let ev = match res {
|
||||
Ok((_, result)) => BackfillEvent::Finished(result),
|
||||
Ok((pipeline, result)) => {
|
||||
self.pipeline_state = PipelineState::Idle(Some(pipeline));
|
||||
BackfillEvent::Finished(result)
|
||||
}
|
||||
Err(why) => {
|
||||
// failed to receive the pipeline
|
||||
BackfillEvent::TaskDropped(why.to_string())
|
||||
|
||||
Reference in New Issue
Block a user