upgraded to batching at 5 per shot

This commit is contained in:
2025-12-21 14:03:49 -06:00
parent 35dbfcb8f2
commit a170fed4d8
2 changed files with 2 additions and 2 deletions

View File

@@ -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;