update: switch back to 60-second interval

main
_ 2020-12-20 17:34:55 -06:00
parent bcc673b74b
commit eec17b10a1
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ use ptth_relay::{
async fn main () -> Result <(), Box <dyn Error>> { async fn main () -> Result <(), Box <dyn Error>> {
fmt () fmt ()
.with_env_filter (EnvFilter::from_default_env ()) .with_env_filter (EnvFilter::from_default_env ())
.with_span_events (FmtSpan::FULL) .with_span_events (FmtSpan::CLOSE)
.init () .init ()
; ;

View File

@ -108,7 +108,7 @@ impl Interval {
use uom::si::ratio::percent; 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 counter = 0_u64;
let mut next_10_time = counter; let mut next_10_time = counter;