Skip to content

Commit

Permalink
fix(network): remove -> warn, and style
Browse files Browse the repository at this point in the history
  • Loading branch information
nerodono authored and loyd committed Nov 27, 2024
1 parent dac2330 commit 5385428
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions elfo-network/src/discovery/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ use crate::{
NetworkContext,
};

use diff::Diff;
use self::diff::Diff;

mod diff;

/// Initial window size of every flow.
/// TODO: should be different for groups and actors.
Expand Down Expand Up @@ -166,7 +168,7 @@ impl Discovery {

// FIXME: handle removal.
if !removed.is_empty() {
error!(
warn!(
?removed,
"got removal of several discovery.predefined entries, this is not supported as of now"
);
Expand Down Expand Up @@ -597,5 +599,3 @@ fn unexpected_message_error(envelope: Envelope, expected: &[&str]) -> eyre::Repo
async fn timeout<T>(duration: Duration, fut: impl Future<Output = Result<T>>) -> Result<T> {
tokio::time::timeout(duration, fut).await?
}

mod diff;

0 comments on commit 5385428

Please sign in to comment.