Skip to content

Commit 27a16a1

Browse files
authored
Fix putBytes()API to use maxUploadRetryTimeMillis parameter (#6216)
Fix issue #6214
1 parent ddc169f commit 27a16a1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

firebase-storage/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unreleased
2-
2+
* [fixed] Fixed an issue where `maxUploadRetryTimeMillis` parameter is ignored when uploading using
3+
`putBytes()`
34

45
# 21.0.0
56
* [changed] Bump internal dependencies

firebase-storage/src/main/java/com/google/firebase/storage/UploadTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public class UploadTask extends StorageTask<UploadTask.TaskSnapshot> {
108108
storage.getApp().getApplicationContext(),
109109
mAuthProvider,
110110
mAppCheckProvider,
111-
storage.getMaxDownloadRetryTimeMillis());
111+
storage.getMaxUploadRetryTimeMillis());
112112
}
113113

114114
UploadTask(

0 commit comments

Comments
 (0)