diff options
Diffstat (limited to 'src/server.rs')
-rw-r--r-- | src/server.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server.rs b/src/server.rs index 6045191..b910e2a 100644 --- a/src/server.rs +++ b/src/server.rs @@ -40,7 +40,7 @@ use crate::key::{LongTermKey, OnlineKey}; use crate::kms; use crate::merkle::MerkleTree; use crate::{Error, RtMessage, Tag, MIN_REQUEST_LENGTH}; -use crate::stats::{ClientStats, SimpleStats}; +use crate::stats::{ServerStats, PerClientStats}; macro_rules! check_ctrlc { ($keep_running:expr) => { @@ -90,7 +90,7 @@ pub struct Server { #[cfg(fuzzing)] fake_client_socket: UdpSocket, - stats: SimpleStats, + stats: PerClientStats, } impl Server { @@ -172,7 +172,7 @@ impl Server { #[cfg(fuzzing)] fake_client_socket: UdpSocket::bind(&"127.0.0.1:0".parse().unwrap()).unwrap(), - stats: SimpleStats::new(), + stats: PerClientStats::new(), } } |