Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Aug 27, 2024
1 parent 324f114 commit 8d1af52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay-server/src/services/buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl GuardedEnvelopeBuffer {
Ok(guard) => {
relay_statsd::metric!(
counter(RelayCounters::BufferCapacityCheck) += 1,
lock_aquired = "true"
lock_acquired = "true"
);

let has_capacity = guard.backend.has_capacity();
Expand All @@ -162,7 +162,7 @@ impl GuardedEnvelopeBuffer {
Err(_) => {
relay_statsd::metric!(
counter(RelayCounters::BufferCapacityCheck) += 1,
lock_aquired = "false"
lock_acquired = "false"
);

self.cached_capacity.load(Ordering::Relaxed)
Expand Down

0 comments on commit 8d1af52

Please sign in to comment.