Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Sep 17, 2024
1 parent eef179a commit 3dd880e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay-server/src/services/buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl EnvelopeBufferService {
// In case the project cache is not ready, we defer popping to first try and handle incoming
// messages and only come back to this in case within the timeout no data was received.
while !self.project_cache_ready.load(Ordering::Relaxed) {
tokio::time::sleep(DEFAULT_SLEEP).await;
tokio::time::sleep(Duration::ZERO).await;
}

relay_statsd::metric!(
Expand Down

0 comments on commit 3dd880e

Please sign in to comment.