From 4a44018d1b304de3b65cbcab097f41fda299f464 Mon Sep 17 00:00:00 2001 From: Kervin Hu <34271744+YikaiHu@users.noreply.github.com> Date: Tue, 9 Jul 2024 18:08:19 +0800 Subject: [PATCH] fix: fix the prefix list in third bucket (#18) --- dth/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dth/client.go b/dth/client.go index 1c0525f..080a328 100644 --- a/dth/client.go +++ b/dth/client.go @@ -495,7 +495,7 @@ func (c *S3Client) ListSelectedPrefixesFromThirdBucket(ctx context.Context, buck } start := time.Now() - prefixesValue := make([]string, 0) + prefixesValue := make([]string, 0, 100000000) for i, line := range strings.Split(string(getBuf.Bytes()), "\n") { if len(line) > 0 {