Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Sep 15, 2023
1 parent 4eb4698 commit 92ff079
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions consumer/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,13 +904,12 @@ impl Processor {
CompressionLeaf::create(conn, compression_leaf).await?;
let elapsed = i64::try_from(start.elapsed().as_millis()).unwrap_or(0);

self.metrics.rpc_tx_assembly_duration_ms_bucket.record(
elapsed,
&[
self.metrics
.rpc_tx_assembly_duration_ms_bucket
.record(elapsed, &[
KeyValue::new("blockchain", "Solana"),
KeyValue::new("compressed", "true"),
],
);
]);

return Ok(tx.into());
}
Expand All @@ -933,13 +932,12 @@ impl Processor {
CollectionMint::create(conn, collection_mint).await?;
let elapsed = i64::try_from(start.elapsed().as_millis()).unwrap_or(0);

self.metrics.rpc_tx_assembly_duration_ms_bucket.record(
elapsed,
&[
self.metrics
.rpc_tx_assembly_duration_ms_bucket
.record(elapsed, &[
KeyValue::new("blockchain", "Solana"),
KeyValue::new("compressed", "false"),
],
);
]);

Ok(tx.into())
}
Expand Down

0 comments on commit 92ff079

Please sign in to comment.