MCPcopy Create free account
hub / github.com/base/base / requeue

Method requeue

crates/batcher/encoder/src/encoder.rs:565–578  ·  view source on GitHub ↗
(&mut self, id: SubmissionId)

Source from the content-addressed store, hash-verified

563 }
564
565 fn requeue(&mut self, id: SubmissionId) {
566 let Some(frame_count) = self.egress.requeue(id) else {
567 debug!(id = ?id, "ignoring retry for untracked submission");
568 return;
569 };
570
571 BatcherMetrics::pending_frames().set(self.egress.artifacts().ready_frame_count() as f64);
572
573 debug!(
574 id = ?id,
575 frame_count = %frame_count,
576 "submission frames ready for retry"
577 );
578 }
579
580 fn flush(&mut self) -> Result<(), StepError> {
581 debug!("flushing channel pipeline");

Callers

nothing calls this directly

Calls 3

ready_frame_countMethod · 0.80
setMethod · 0.45
artifactsMethod · 0.45

Tested by

no test coverage detected