Add a 500 ms sleep when queuing futures, just in case

This commit is contained in:
Simon Quigley 2025-01-27 12:38:56 -06:00
parent b618bf0932
commit 2bc5c191f0

View File

@ -697,6 +697,7 @@ std::string CiLogic::queue_pull_tarball(std::vector<std::shared_ptr<PackageConf>
encountered_items[r->package->name] = new_item;
}
}));
std::this_thread::sleep_for(std::chrono::milliseconds(500));
}
for (auto& future : futures) future.get();
msg = "Succeeded";