Skip to content

Commit b6967bb

Browse files
fix: remove tus upload chunk size
1 parent b0c193b commit b6967bb

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 0.0.4 / 2018-01-08 ###
2+
3+
* Remove tus upload chunksize
4+
15
### 0.0.3 / 2017-05-15 ###
26

37
* `Steps.removeStep` method

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sourceCompatibility = 1.6
1010
targetCompatibility = 1.6
1111

1212
group 'com.transloadit.sdk'
13-
version = '0.0.3'
13+
version = '0.0.4'
1414
description = "A Java Integration of the Transloadit's(https://transloadit.com) file uploading and encoding service."
1515

1616
allprojects {
@@ -23,7 +23,7 @@ allprojects {
2323

2424
dependencies {
2525
compile 'org.jetbrains:annotations:13.0'
26-
compile 'io.tus.java.client:tus-java-client:0.3.2-pre1'
26+
compile 'io.tus.java.client:tus-java-client:0.3.2'
2727
compile 'joda-time:joda-time:2.9.7'
2828
compile 'com.squareup.okhttp3:okhttp:3.6.0'
2929
compile 'org.json:json:20160212'

src/main/java/com/transloadit/sdk/Assembly.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ protected void processTusFile(File file, String fieldName, String assemblyUrl)
146146
@Override
147147
protected void makeAttempt() throws ProtocolException, IOException {
148148
TusUploader uploader = tusClient.resumeOrCreateUpload(upload);
149-
uploader.setChunkSize(2 * 1024 * 1024); // 2MB
150149

151150
int uploadedChunk = 0;
152151
while (uploadedChunk > -1) {

0 commit comments

Comments
 (0)