Skip to content

Commit

Permalink
Destination S3-V2: Bug Fix: File xfer uses part size for part, not fi…
Browse files Browse the repository at this point in the history
…le size
  • Loading branch information
johnny-schmidt committed Jan 30, 2025
1 parent e2edfd7 commit 6197254
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class FilePartAccumulator(

while (true) {
val bytePart =
ByteArray(ObjectStorageUploadConfiguration.DEFAULT_FILE_SIZE_BYTES.toInt())
ByteArray(ObjectStorageUploadConfiguration.DEFAULT_PART_SIZE_BYTES.toInt())
val read = fileInputStream.read(bytePart)

if (read == -1) {
Expand Down

0 comments on commit 6197254

Please sign in to comment.