Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Oct 16, 2024
1 parent 1b3bcf1 commit 769b26e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ mod tests {
store.remove_file(&project_key_pair).await.unwrap();

// Verify the file no longer exists in cache or on disk
assert!(!store.files_cache.cache.get_mut(&project_key_pair).is_some());
assert!(store.files_cache.cache.get_mut(&project_key_pair).is_none());
assert!(!file_path.exists());

// Removing a non-existent file should not error
Expand Down
3 changes: 3 additions & 0 deletions relay-server/src/statsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ impl TimerMetric for RelayTimers {
RelayTimers::BufferPop => "buffer.pop.duration",
RelayTimers::BufferDrain => "buffer.drain.duration",
RelayTimers::BufferEnvelopesSerialization => "buffer.envelopes_serialization",
RelayTimers::BufferEnvelopeSerialization => "buffer.envelope_serialization",
RelayTimers::BufferEnvelopeFileWriting => "buffer.envelope_file_writing",
RelayTimers::BufferTotalCountReading => "buffer.total_count_reading",
}
}
}
Expand Down

0 comments on commit 769b26e

Please sign in to comment.