From eb8968aa69379b3e0801297d74b71b1bcdc5db7f Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 12 Aug 2023 12:53:51 +0200 Subject: [PATCH] Fix --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3b6e37e..a06066c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -156,10 +156,10 @@ async fn convert_file( ) ]); - tokio::spawn(async { - sleep(Duration::from_secs(5 * 60)).await; - remove_temp_files().await - }); + // tokio::spawn(async { + // sleep(Duration::from_secs(5 * 60)).await; + // remove_temp_files().await + // }); (headers, body).into_response() }