From 404029f0feabacb11902e2822e95ca394dc10567 Mon Sep 17 00:00:00 2001 From: Martin Durant Date: Mon, 18 Mar 2024 15:46:28 -0400 Subject: [PATCH] Update gcsfs/core.py Co-authored-by: Sam Levang <39069044+slevang@users.noreply.github.com> --- gcsfs/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcsfs/core.py b/gcsfs/core.py index 330ee603..d8bbd0c0 100644 --- a/gcsfs/core.py +++ b/gcsfs/core.py @@ -1185,7 +1185,7 @@ async def _rm_files(self, paths, batchsize=20): # See https://cloud.google.com/storage/docs/batch for retry in range(1, 6): remaining = [] - for chunk in _chunks(paths, 20): + for chunk in _chunks(paths, batchsize): parts = [] for i, p in enumerate(chunk): bucket, key, generation = self.split_path(p)