Skip to content

Commit

Permalink
Restore the batch size kludge for attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleiserson committed Sep 27, 2024
1 parent 966160f commit d2512f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipa-core/src/protocol/ipa_prf/prf_sharding/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,9 @@ where
protocol: &Step::Attribute,
validate: &Step::AttributeValidate,
},
chunk_size,
// TODO: this should not be necessary, but probably can't be removed
// until we align read_size with the batch size.
std::cmp::min(sh_ctx.active_work().get(), chunk_size),
);
dzkp_validator.set_total_records(TotalRecords::specified(histogram[1]).unwrap());
let ctx_for_row_number = set_up_contexts(&dzkp_validator.context(), histogram)?;
Expand Down

0 comments on commit d2512f1

Please sign in to comment.