trace
This commit is contained in:
parent
5460fcb606
commit
461edfa5bb
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ use axum::{
|
||||||
response::{Html, IntoResponse, Response},
|
response::{Html, IntoResponse, Response},
|
||||||
Router, extract::{Path, Query, State}, Form, http::{header, StatusCode}, Json,
|
Router, extract::{Path, Query, State}, Form, http::{header, StatusCode}, Json,
|
||||||
};
|
};
|
||||||
use log::{info, debug};
|
use log::{info, debug, trace};
|
||||||
use rand::{seq::SliceRandom, Rng, distributions::{Alphanumeric, DistString}};
|
use rand::{seq::SliceRandom, Rng, distributions::{Alphanumeric, DistString}};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use tokio::{sync::Mutex, process::Command};
|
use tokio::{sync::Mutex, process::Command};
|
||||||
|
@ -325,7 +325,7 @@ async fn main() {
|
||||||
let mut interval = tokio::time::interval(Duration::from_secs(15));
|
let mut interval = tokio::time::interval(Duration::from_secs(15));
|
||||||
loop {
|
loop {
|
||||||
interval.tick().await;
|
interval.tick().await;
|
||||||
debug!("cleaning up");
|
trace!("cleaning up");
|
||||||
|
|
||||||
let now = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs();
|
let now = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue