Skip to content

Commit e2b2c65

Browse files
committed
resume v2 upload id deadline before 1 day
1 parent d22a226 commit e2b2c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QiniuSDK/Storage/QNUploadFileInfoPartV2.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ - (BOOL)isEmpty{
137137
}
138138

139139
- (BOOL)isValid{
140-
return ![self isEmpty] && self.uploadId && (self.expireAt.integerValue - [[NSDate date] timeIntervalSince1970]) > 6000;
140+
return ![self isEmpty] && self.uploadId && (self.expireAt.integerValue - [[NSDate date] timeIntervalSince1970]) > 3600*24;
141141
}
142142

143143
- (NSArray <NSDictionary *> *)getPartInfoArray{

0 commit comments

Comments
 (0)