Skip to content

Commit

Permalink
chore: rm redundant event variant (#9674)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jul 20, 2024
1 parent c8e6e37 commit 12182fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions crates/engine/tree/src/backfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ pub enum BackfillAction {
/// The events that can be emitted on backfill sync.
#[derive(Debug)]
pub enum BackfillEvent {
/// Backfill sync idle.
Idle,
/// Backfill sync started.
Started(PipelineTarget),
/// Backfill sync finished.
Expand Down
1 change: 0 additions & 1 deletion crates/engine/tree/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ where
// try to poll the backfill sync to completion, if active
match this.backfill_sync.poll(cx) {
Poll::Ready(backfill_sync_event) => match backfill_sync_event {
BackfillEvent::Idle => {}
BackfillEvent::Started(_) => {
// notify handler that backfill sync started
this.handler.on_event(FromOrchestrator::BackfillSyncStarted);
Expand Down

0 comments on commit 12182fe

Please sign in to comment.