mirror of
https://github.com/flibusta-apps/fb2converter_server.git
synced 2025-12-06 15:05:37 +01:00
Fix
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user