Skip to content

Commit

Permalink
fix(derive): Retain L1 blocks (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby authored Oct 10, 2024
1 parent cd2fe99 commit c775fcf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/derive/src/stages/batch_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@ where
{
async fn flush_channel(&mut self) -> PipelineResult<()> {
self.batches.clear();
self.l1_blocks.clear();
self.next_spans.clear();
self.prev.flush_channel().await
}
Expand Down Expand Up @@ -567,7 +566,7 @@ mod tests {
bq.flush_channel().await.unwrap();
assert!(bq.prev.flushed);
assert!(bq.batches.is_empty());
assert!(bq.l1_blocks.is_empty());
assert!(!bq.l1_blocks.is_empty());
assert!(bq.next_spans.is_empty());
}

Expand Down

0 comments on commit c775fcf

Please sign in to comment.