Try to do the pkgconf sync right away in the future

This commit is contained in:
Simon Quigley 2025-01-27 17:31:53 -06:00
parent 3f33edb4fa
commit ee8d6ffcc7

View File

@ -696,8 +696,9 @@ std::string CiLogic::queue_pull_tarball(std::vector<std::shared_ptr<PackageConf>
new_item->first_tarball_task = r->get_task_by_jobstatus(job_statuses->at("tarball")); new_item->first_tarball_task = r->get_task_by_jobstatus(job_statuses->at("tarball"));
encountered_items[r->package->name] = new_item; encountered_items[r->package->name] = new_item;
} }
r->sync();
})); }));
std::this_thread::sleep_for(std::chrono::milliseconds(250));
} }
for (auto& future : futures) future.get(); for (auto& future : futures) future.get();
msg = "Succeeded"; msg = "Succeeded";