fix production compile error
This commit is contained in:
parent
5762063ac0
commit
d16615a07c
|
@ -31,8 +31,9 @@ async fn clean(env: env::Env, state: State) -> CleanResult {
|
||||||
|
|
||||||
#[cfg(debug_assertions)] {
|
#[cfg(debug_assertions)] {
|
||||||
log::debug!("Cleaned successfully");
|
log::debug!("Cleaned successfully");
|
||||||
return CleanResult::ScheduleNext(chrono::Local::now() + env.clean_del);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CleanResult::ScheduleNext(chrono::Local::now() + env.clean_del)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
|
|
Loading…
Reference in New Issue