This commit is contained in:
2026-08-29 14:05:43 +02:00
parent 5e97e9c223
commit 88ad3c389f
15 changed files with 423 additions and 109 deletions
+3 -1
View File
@@ -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");
}
}