Skip to content

Commit

Permalink
handle warning
Browse files Browse the repository at this point in the history
  • Loading branch information
somtochiama committed Jul 5, 2024
1 parent e6d4f62 commit a7d76ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion crates/corro-agent/src/agent/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ fn processing_cost(change: &Changeset) -> usize {
}

/// Handle incoming emptyset received during syncs
///
///_
#[allow(dead_code)]
pub async fn handle_emptyset(
agent: Agent,
bookie: Bookie,
Expand Down Expand Up @@ -472,6 +473,7 @@ pub async fn handle_emptyset(
println!("shutting down handle empties loop");
}

#[allow(dead_code)]
pub async fn process_emptyset(
agent: Agent,
bookie: Bookie,
Expand Down
2 changes: 1 addition & 1 deletion crates/corro-agent/src/agent/run_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async fn run(agent: Agent, opts: AgentOptions, pconf: PerfConfig) -> eyre::Resul
rx_apply,
rx_clear_buf,
rx_changes,
rx_emptyset,
rx_emptyset: _,
rx_foca,
subs_manager,
subs_bcast_cache,
Expand Down

0 comments on commit a7d76ea

Please sign in to comment.