Skip to content

Commit cf6fd55

Browse files
committed
Correct usage of upload sizes
1 parent d40f0d7 commit cf6fd55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ TusUpload upload = new TusUpload(file);
4040
// a connection to the remote server and doing the uploading.
4141
TusUploader uploader = client.resumeOrCreateUpload(upload);
4242

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

0 commit comments

Comments
 (0)