upgraded to batching at 5 per shot
This commit is contained in:
Submodule SkywardGradeChecker updated: d5f45dba8f...e40b8fd0fe
@@ -26,7 +26,7 @@ void batched_update(std::shared_ptr<clickhouse::Client> client_ptr, std::string
|
||||
spdlog::warn("No users to update");
|
||||
return;
|
||||
}
|
||||
const size_t batch_size = 1;
|
||||
const size_t batch_size = 5;
|
||||
for (size_t base_iteration = 0; base_iteration < current_users.size(); base_iteration += batch_size) {
|
||||
std::vector<std::future<void>> futures_for_this_batch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user