From 09b6ee941ac492a8f3c056be17d951ba390f97e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alek=20A=CC=8Astro=CC=88m?= Date: Sun, 14 Sep 2014 13:57:48 +0200 Subject: [PATCH] Increased default maxConcurrentOperationCount, fixing issue #527 --- SDWebImage/SDWebImageDownloader.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImageDownloader.m b/SDWebImage/SDWebImageDownloader.m index 60914db3..67a3e266 100644 --- a/SDWebImage/SDWebImageDownloader.m +++ b/SDWebImage/SDWebImageDownloader.m @@ -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);