Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
farnyser committed Apr 3, 2024
1 parent 92ca014 commit 034a46d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bin/service-mango-health/src/processors/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ impl DataProcessor {
) -> anyhow::Result<DataProcessor> {
let mut retry_counter = RetryCounter::new(2);
let mango_group = Pubkey::from_str(&configuration.mango_group)?;
let (mango_stream, snapshot_job) =
fail_or_retry!(retry_counter, Self::init_mango_source(configuration, exit.clone()).await)?;
let (mango_stream, snapshot_job) = fail_or_retry!(
retry_counter,
Self::init_mango_source(configuration, exit.clone()).await
)?;
let (sender, _) = tokio::sync::broadcast::channel(8192);
let sender_clone = sender.clone();

Expand Down Expand Up @@ -141,7 +143,7 @@ impl DataProcessor {
return Some(Snapshot(SnapshotEvent {
accounts: result,
received_at,
is_full: snapshot_type == SnapshotType::Full
is_full: snapshot_type == SnapshotType::Full,
}));
}
_ => {}
Expand Down

0 comments on commit 034a46d

Please sign in to comment.