Skip to content

Commit d328875

Browse files
authored
fix(s3): force upload part tasks to be serial (#2447)
1 parent 3573f34 commit d328875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aws-android-sdk-s3/src/main/java/com/amazonaws/mobileconnectors/s3/transferutility/TransferThreadPool.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ static synchronized void init(final int transferThreadPoolSize) {
4141
executorMainTask = buildExecutor(poolSize);
4242
}
4343
if (executorPartTask == null) {
44-
executorPartTask = buildExecutor(poolSize);
44+
// Upload individual parts serially
45+
executorPartTask = buildExecutor(1);
4546
}
4647
}
4748

0 commit comments

Comments
 (0)