fixed the network error when files number exceed 60-70
increased the timeout sec from 30 to 120 and added batching if batch size exceeds 50(thats where it seems to cause problem)
This commit is contained in:
@@ -121,7 +121,7 @@ pub async fn handle_organization(
|
||||
);
|
||||
|
||||
let mut plan: OrganizationPlan = match client
|
||||
.organize_files_with_cache(batch.filenames, Some(&mut cache), Some(&download_path))
|
||||
.organize_files_in_batches(batch.filenames, Some(&mut cache), Some(&download_path))
|
||||
.await
|
||||
{
|
||||
Ok(plan) => plan,
|
||||
|
||||
Reference in New Issue
Block a user