Skip to content

Commit 43c3e41

Browse files
author
YangSen-qn
committed
resume v2 upload id deadline before 1 day
1 parent d647be3 commit 43c3e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/qiniu/android/storage/UploadFileInfoPartV2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ boolean isEmpty() {
9898

9999
@Override
100100
boolean isValid() {
101-
return !isEmpty() && uploadId != null && (expireAt - new Date().getTime() * 0.001) > 6000;
101+
return !isEmpty() && uploadId != null && (expireAt - new Date().getTime() * 0.001) > 3600*24;
102102
}
103103

104104
UploadData nextUploadData() {

0 commit comments

Comments
 (0)