diff --git a/crates/ptth_relay/src/main.rs b/crates/ptth_relay/src/main.rs index 0d676da..cf2f2d9 100644 --- a/crates/ptth_relay/src/main.rs +++ b/crates/ptth_relay/src/main.rs @@ -26,7 +26,7 @@ use ptth_relay::{ async fn main () -> Result <(), Box > { fmt () .with_env_filter (EnvFilter::from_default_env ()) - .with_span_events (FmtSpan::FULL) + .with_span_events (FmtSpan::CLOSE) .init () ; diff --git a/crates/ptth_server/src/file_server/metrics.rs b/crates/ptth_server/src/file_server/metrics.rs index 458e6b6..37f6c00 100644 --- a/crates/ptth_server/src/file_server/metrics.rs +++ b/crates/ptth_server/src/file_server/metrics.rs @@ -108,7 +108,7 @@ impl Interval { use uom::si::ratio::percent; - let mut interval = tokio::time::interval (Duration::from_secs (4)); + let mut interval = tokio::time::interval (Duration::from_secs (60)); let mut counter = 0_u64; let mut next_10_time = counter;