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 7b7d8d0 commit 33415dd
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(Duration::from_nanos(1)).await;
tokio::time::sleep(Duration::from_millis(10)).await;
}

relay_statsd::metric!(
Expand Down

0 comments on commit 33415dd

Please sign in to comment.