Skip to content

Commit

Permalink
Unused
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Jul 23, 2024
1 parent 654d6a6 commit 5bebb73
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions edb/server/conn_pool/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@ pub enum MetricVariant {
Waiting,
}

impl MetricVariant {
/// Variants that can provide a connection.
pub const fn live() -> &'static [MetricVariant] {
&[
MetricVariant::Connecting,
MetricVariant::Idle,
MetricVariant::Active,
]
}
}

/// Maintains a rolling average of `u32` values. Note that this struct attempts
/// to optimize `SIZE == 1`.
#[derive(Debug, PartialEq, Eq)]
Expand Down

0 comments on commit 5bebb73

Please sign in to comment.