mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix
This commit is contained in:
@@ -464,6 +464,7 @@ async fn download_archive(
|
|||||||
.send()
|
.send()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
tokio::spawn(async move {
|
||||||
let mut i = 15 * 60 / 5;
|
let mut i = 15 * 60 / 5;
|
||||||
|
|
||||||
while task.status != TaskStatus::Complete && i >= 0 {
|
while task.status != TaskStatus::Complete && i >= 0 {
|
||||||
@@ -507,6 +508,9 @@ async fn download_archive(
|
|||||||
.send()
|
.send()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
Ok(())
|
||||||
|
});
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user