Skip to content

Commit

Permalink
fix: fix the prefix list in third bucket (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
YikaiHu authored Jul 9, 2024
1 parent eca8ce8 commit 4a44018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dth/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4a44018

Please sign in to comment.