Skip to content

Commit

Permalink
Update relay-server/src/services/buffer/envelope_buffer/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Joris Bayer <joris.bayer@sentry.io>
  • Loading branch information
iambriccardo and jjbayer authored Oct 9, 2024
1 parent 29eb0cf commit cb8b8d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay-server/src/services/buffer/envelope_buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ impl EnvelopeBuffer {
return Ok(None);
};

// There must be an envelope when popping, since we assume that `peek` is called before
// the call to `pop` and no concurrent access is performed in the meanwhile.
// There must be an envelope when popping, since we call `peek` in the statement above
// and no concurrent access is performed in the meanwhile.
let envelope = self
.envelope_repository
.pop(project_key_pair)
Expand Down

0 comments on commit cb8b8d3

Please sign in to comment.