From 8d1af528eefa6518e939f49d6dea166ce82a753c Mon Sep 17 00:00:00 2001 From: Riccardo Busetti Date: Tue, 27 Aug 2024 11:10:48 +0200 Subject: [PATCH] Improve --- relay-server/src/services/buffer/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relay-server/src/services/buffer/mod.rs b/relay-server/src/services/buffer/mod.rs index 2d54195bcc..d6ced1f63b 100644 --- a/relay-server/src/services/buffer/mod.rs +++ b/relay-server/src/services/buffer/mod.rs @@ -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(); @@ -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)