update: switch back to 60-second interval
parent
bcc673b74b
commit
eec17b10a1
|
@ -26,7 +26,7 @@ use ptth_relay::{
|
|||
async fn main () -> Result <(), Box <dyn Error>> {
|
||||
fmt ()
|
||||
.with_env_filter (EnvFilter::from_default_env ())
|
||||
.with_span_events (FmtSpan::FULL)
|
||||
.with_span_events (FmtSpan::CLOSE)
|
||||
.init ()
|
||||
;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue