mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 01:28:21 -05:00
chore: fix SessionManagerMetrics typo (#3823)
This commit is contained in:
@@ -48,7 +48,7 @@ pub struct NetworkMetrics {
|
||||
/// Metrics for SessionManager
|
||||
#[derive(Metrics)]
|
||||
#[metrics(scope = "network")]
|
||||
pub struct SesssionManagerMetrics {
|
||||
pub struct SessionManagerMetrics {
|
||||
/// Number of dials that resulted in a peer being added to the peerset
|
||||
pub(crate) total_dial_successes: Counter,
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Support for handling peer sessions.
|
||||
use crate::{
|
||||
message::PeerMessage,
|
||||
metrics::SesssionManagerMetrics,
|
||||
metrics::SessionManagerMetrics,
|
||||
session::{active::ActiveSession, config::SessionCounter},
|
||||
};
|
||||
pub use crate::{message::PeerRequestSender, session::handle::PeerInfo};
|
||||
@@ -100,7 +100,7 @@ pub struct SessionManager {
|
||||
/// Used to measure inbound & outbound bandwidth across all managed streams
|
||||
bandwidth_meter: BandwidthMeter,
|
||||
/// Metrics for the session manager.
|
||||
metrics: SesssionManagerMetrics,
|
||||
metrics: SessionManagerMetrics,
|
||||
}
|
||||
|
||||
// === impl SessionManager ===
|
||||
|
||||
Reference in New Issue
Block a user