Signed-off-by: lance6716 <lance6716@gmail.com>
This commit is contained in:
lance6716 2025-08-25 21:02:18 +08:00
parent c546874f64
commit 5600349716
1 changed files with 1 additions and 1 deletions

View File

@ -889,7 +889,7 @@ async fn raw_large_batch_put() -> Result<()> {
// Generate value: repeat pattern to reach VALUE_SIZE
let pattern = format!("value_{}", i % 1000);
let repeat_count = (VALUE_SIZE + pattern.len() - 1) / pattern.len();
let repeat_count = VALUE_SIZE.div_ceil(pattern.len());
let value = pattern.repeat(repeat_count);
pairs.push(KvPair::from((key, value)));