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 a863dc8 commit 5df1b6aCopy full SHA for 5df1b6a
QiniuSDK/Http/Request/HttpClient/CFNetwork/QNCFHttpThreadPool.m
@@ -56,7 +56,7 @@ + (instancetype)shared {
56
dispatch_once(&onceToken, ^{
57
pool = [[QNCFHttpThreadPool alloc] init];
58
pool.threadLiveTime = 60;
59
- pool.maxOperationPerThread = 1;
+ pool.maxOperationPerThread = 6;
60
pool.pool = [NSMutableArray array];
61
[pool addThreadLiveChecker];
62
});
@@ -97,6 +97,7 @@ - (QNCFHttpThread *)getOneThread {
97
[thread start];
98
[self.pool addObject:thread];
99
}
100
+ thread.deadline = nil;
101
102
return thread;
103
0 commit comments