Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Oct 11, 2023
1 parent 36a5882 commit 5565a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions iroh-sync/src/ranger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,7 @@ where

// Store incoming values
for (entry, content_status) in values {
println!("NOW VALIDATE");
if validate_cb(&self.store, &entry, content_status) {
println!("NOW PUT");
self.store.put(entry)?;
}
}
Expand Down
4 changes: 2 additions & 2 deletions iroh/src/sync_engine/live.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ fn entry_to_content_status(entry: EntryStatus) -> ContentStatus {
}
}

/// Handle to a https://pad.riseup.net/p/Z3Y9dpq19FjgwQSFGvbLrunning live sync actor
/// Handle to a running live sync actor
#[derive(Debug, Clone)]
pub struct LiveSync {
sync_actor_tx: mpsc::Sender<ToSyncActor>,
task: Shared<BoxFuture<'static, ()>>,
}

impl LiveSync {
/// Start the live sync.https://pad.riseup.net/p/Z3Y9dpq19FjgwQSFGvbL
/// Start the live sync actor.
///
/// This spawn a background actor to handle gossip events and forward operations over broadcast
/// messages.
Expand Down

0 comments on commit 5565a18

Please sign in to comment.