Skip to content

Commit

Permalink
Correct usage of upload sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Dec 27, 2015
1 parent d40f0d7 commit cf6fd55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ TusUpload upload = new TusUpload(file);
// a connection to the remote server and doing the uploading.
TusUploader uploader = client.resumeOrCreateUpload(upload);

// Upload the file in chunks of 1KB as long as data is available. Once the
// Upload the file in chunks of 1MB as long as data is available. Once the
// file has been fully uploaded the method will return -1
while(uploader.uploadChunk(1024 * 1024) > -1) {
// Calculate the progress using the total size of the uploading file and
Expand Down

0 comments on commit cf6fd55

Please sign in to comment.