This commit is contained in:
2023-08-12 12:53:51 +02:00
parent 8c4704d5b3
commit eb8968aa69

View File

@@ -156,10 +156,10 @@ async fn convert_file(
) )
]); ]);
tokio::spawn(async { // tokio::spawn(async {
sleep(Duration::from_secs(5 * 60)).await; // sleep(Duration::from_secs(5 * 60)).await;
remove_temp_files().await // remove_temp_files().await
}); // });
(headers, body).into_response() (headers, body).into_response()
} }