You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If multiple chunks are created, the last chunk is always larger than the chunk size set in the config.
var r = new Resumable({
target: function (chunk) {
console.log(chunk)
return '/test/'
},
query: {},
maxChunkRetries: 2,
simultaneousUploads: 1,
chunkSize: 1 * 1024 * 1024 // 1MB
});
The chunk size is 1MB or 1048576 bytes.
I uploaded a 2.5 MB file, but only two chunks were created. Below are the console logs returned from the target function. The first chunk size matches the chunk size set in the config, but the second chunk size is too large.
I also uploaded a 1096 MB file and all the chunk sizes matched the chunk size set in the config, except the last one, which was too big.
If multiple chunks are created, the last chunk is always larger than the chunk size set in the config.
The chunk size is 1MB or 1048576 bytes.
I uploaded a 2.5 MB file, but only two chunks were created. Below are the console logs returned from the target function. The first chunk size matches the chunk size set in the config, but the second chunk size is too large.
I also uploaded a 1096 MB file and all the chunk sizes matched the chunk size set in the config, except the last one, which was too big.
The text was updated successfully, but these errors were encountered: