init
This commit is contained in:
+3
-1
@@ -100,7 +100,9 @@ impl App {
|
||||
let mut interval = tokio::time::interval(Duration::from_secs(3600));
|
||||
loop {
|
||||
interval.tick().await;
|
||||
if let Err(error) = crate::routes::attachment::handlers::cleanup_expired(&cleanup_state).await {
|
||||
if let Err(error) =
|
||||
crate::routes::attachment::handlers::cleanup_expired(&cleanup_state).await
|
||||
{
|
||||
tracing::warn!(%error, "Attachment cleanup failed");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user