diff --git a/fs/s3_adapter.go b/fs/s3_adapter.go index 0281c1f..8021db1 100644 --- a/fs/s3_adapter.go +++ b/fs/s3_adapter.go @@ -56,8 +56,9 @@ func (s *S3Adapter) GetFileList(ctx context.Context, dirPath string, relDt time. } listObjectsInput := &s3.ListObjectsV2Input{ - Bucket: aws.String(s.StorageConfig.S3.Bucket), - Prefix: aws.String(path.Join(s.StorageConfig.S3.Prefix, dirPath)), + Bucket: aws.String(s.StorageConfig.S3.Bucket), + Prefix: aws.String(path.Join(s.StorageConfig.S3.Prefix, dirPath)), + MaxKeys: aws.Int32(1000), } client, err := s.getClient()