You've already forked AstralRinth
forked from didirus/AstralRinth
Finish newer forge versions
This commit is contained in:
@@ -145,6 +145,8 @@ pub async fn retrieve_data() -> Result<(), Error> {
|
||||
type_: version.type_,
|
||||
inherits_from: version.inherits_from,
|
||||
libraries: libs,
|
||||
processors: None,
|
||||
data: None
|
||||
})?,
|
||||
Some("application/json".to_string()),
|
||||
)
|
||||
@@ -183,7 +185,7 @@ pub async fn retrieve_data() -> Result<(), Error> {
|
||||
let chunk: Vec<_> = versions.by_ref().take(10).collect();
|
||||
futures::future::try_join_all(chunk).await?;
|
||||
|
||||
std::thread::sleep(Duration::from_secs(1));
|
||||
tokio::time::sleep(Duration::from_secs(1)).await;
|
||||
|
||||
chunk_index += 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user