How to change chunkSize bassed on file size?
Opened this issue · 1 comments
msalai commented
Is there a way to change chunkSize based on file size? For example, if I drop 100 MB file, then chunkSize would be 1 mb, and if I drop 10 GB file, chunkSize would be 10 MB.
RubenGarcia commented
The chunk size depends on the mean number of bytes transferred between network errors, which is independent of the size of the file. What you may find more useful is a way to change the chunk size depending on the network path between client and server.