Skip to content

Commit

Permalink
that was supposed to be milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Aug 22, 2024
1 parent 5f90377 commit 87f85bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ impl MetricsConfig {
"`metrics.sp_poll_interval_ms` probably shouldn't be 0 ms",
);
let sp_poll_interval =
Duration::from_secs(self.sp_poll_interval_ms as u64);
Duration::from_millis(self.sp_poll_interval_ms as u64);

let max_buffered_sample_chunks = {
// Roughly how many times will we poll SPs for each metrics collection
Expand Down

0 comments on commit 87f85bc

Please sign in to comment.