We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8091f4e commit 2904a9eCopy full SHA for 2904a9e
QiniuSDK/Common/QNFile.m
@@ -49,7 +49,7 @@ - (instancetype)init:(NSString *)path
49
NSData *d = nil;
50
//[NSData dataWithContentsOfFile:filePath options:NSDataReadingMappedIfSafe error:&error] 不能用在大于 200M的文件上,改用filehandle
51
// 参见 https://issues.apache.org/jira/browse/CB-5790
52
- if (_fileSize > 32*1024*1024) {
+ if (_fileSize > 16*1024*1024) {
53
f = [NSFileHandle fileHandleForReadingAtPath:path];
54
if (f == nil) {
55
if (error != nil) {
0 commit comments