Skip to content

Commit 2904a9e

Browse files
committed
Update QNFile.m
1 parent 8091f4e commit 2904a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QiniuSDK/Common/QNFile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ - (instancetype)init:(NSString *)path
4949
NSData *d = nil;
5050
//[NSData dataWithContentsOfFile:filePath options:NSDataReadingMappedIfSafe error:&error] 不能用在大于 200M的文件上,改用filehandle
5151
// 参见 https://issues.apache.org/jira/browse/CB-5790
52-
if (_fileSize > 32*1024*1024) {
52+
if (_fileSize > 16*1024*1024) {
5353
f = [NSFileHandle fileHandleForReadingAtPath:path];
5454
if (f == nil) {
5555
if (error != nil) {

0 commit comments

Comments
 (0)