Skip to content

Commit 4a44018

Browse files
authored
fix: fix the prefix list in third bucket (#18)
1 parent eca8ce8 commit 4a44018

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dth/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ func (c *S3Client) ListSelectedPrefixesFromThirdBucket(ctx context.Context, buck
495495
}
496496

497497
start := time.Now()
498-
prefixesValue := make([]string, 0)
498+
prefixesValue := make([]string, 0, 100000000)
499499

500500
for i, line := range strings.Split(string(getBuf.Bytes()), "\n") {
501501
if len(line) > 0 {

0 commit comments

Comments
 (0)