Skip to content

Commit

Permalink
Merge pull request #897 from MrAlek/fix/max-concurrency-count
Browse files Browse the repository at this point in the history
Increased default maxConcurrentOperationCount, fixes #527
  • Loading branch information
bpoplauschi committed Nov 2, 2014
2 parents 1a3ccc2 + 09b6ee9 commit 759f0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDWebImage/SDWebImageDownloader.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ - (id)init {
_operationClass = [SDWebImageDownloaderOperation class];
_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);
Expand Down

0 comments on commit 759f0b9

Please sign in to comment.