We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac4c2d9 commit b8de83bCopy full SHA for b8de83b
example/src/main/java/io/tus/android/example/MainActivity.java
@@ -159,8 +159,8 @@ protected URL doInBackground(Void... params) {
159
long totalBytes = upload.getSize();
160
long uploadedBytes = uploader.getOffset();
161
162
- // Upload file in 10KB chunks
163
- uploader.setChunkSize(10 * 1024);
+ // Upload file in 1MiB chunks
+ uploader.setChunkSize(1024 * 1024);
164
165
while(!isCancelled() && uploader.uploadChunk() > 0) {
166
uploadedBytes = uploader.getOffset();
0 commit comments