Increased default maxConcurrentOperationCount, fixing issue #527
This commit is contained in:
parent
5f4d7f44b4
commit
09b6ee941a
|
@ -65,7 +65,7 @@ static NSString *const kCompletedCallbackKey = @"completed";
|
|||
if ((self = [super init])) {
|
||||
_executionOrder = SDWebImageDownloaderFIFOExecutionOrder;
|
||||
_downloadQueue = [NSOperationQueue new];
|
||||
_downloadQueue.maxConcurrentOperationCount = 2;
|
||||
_downloadQueue.maxConcurrentOperationCount = 6;
|
||||
_URLCallbacks = [NSMutableDictionary new];
|
||||
_HTTPHeaders = [NSMutableDictionary dictionaryWithObject:@"image/webp,image/*;q=0.8" forKey:@"Accept"];
|
||||
_barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderBarrierQueue", DISPATCH_QUEUE_CONCURRENT);
|
||||
|
|
Loading…
Reference in New Issue