fix: set pipeline state back to idel (#9795)

This commit is contained in:
Matthias Seitz
2024-07-25 12:52:41 +02:00
committed by GitHub
parent b4ac3fbfb9
commit ec505b22cd

View File

@@ -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())