Skip to content

Commit

Permalink
fix: Return the correct fileChunkSize
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Feb 26, 2025
1 parent a67898e commit c40e227
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class FileChunkSizeManager(
require(totalChunks <= maxChunkCount)

return ChunkConfig(
fileChunkSize = computeChunkSize(fileSize, halfAvailableMemory),
fileChunkSize = fileChunkSize,
totalChunks = totalChunks,
parallelChunks = computeParallelChunks(totalChunks, fileChunkSize, halfAvailableMemory.toDouble())
)
Expand Down

0 comments on commit c40e227

Please sign in to comment.