Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer committed Sep 13, 2024
1 parent 5627a70 commit 3269fb7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions relay-server/src/services/buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,15 @@ impl EnvelopeBufferService {
);

if let Some(project_cache_ready) = self.project_cache_ready.as_mut() {
relay_statsd::metric!(
counter(RelayCounters::BufferReadyToPop) += 1,
status = "waiting_for_project_cache"
);
project_cache_ready.await?;
relay_statsd::metric!(
counter(RelayCounters::BufferReadyToPop) += 1,
status = "waited_for_project_cache"
);
self.project_cache_ready = None;
}

Expand Down

0 comments on commit 3269fb7

Please sign in to comment.