Skip to content

Commit

Permalink
fix: blob remove should used batched atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Feb 22, 2024
1 parent 3adb913 commit e54329f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export async function remove(kv: Deno.Kv, key: Deno.KvKey): Promise<void> {
batchSize: BATCH_SIZE,
});
if (parts.length) {
let op = kv.atomic();
let op = batchedAtomic(kv);
for (const key of parts) {
op = op.delete(key);
}
Expand Down

0 comments on commit e54329f

Please sign in to comment.