i'm wondering if there is an upper limit on how many setImageWithUrl messages can be submitted at one time ?i'm trying to load 30 photos , 10 of them are downloaded successful but the others entered in the requestFailed when trying to debug the issue
any hints or clarification ? Thanks
For those who would come here seeking the answer about maximum number of concurrent downloads in SDWebImage, I would like to add to the previous answer.
I would not recommend changing init of SDWebImageDownloader, as you might want to update the SDWebImage or, like me, adjust the number of concurrent downloads in different areas of your app.
//thumbnails.m
//Loading thumbnails. It is faster to load them concurrently
SDWebImageManager.sharedManager.imageDownloader.maxConcurrentDownloads = 10;
[yourImageView setImageWithURL:thumbURL];
//fullScreen.m
//Loading big images in full-screen view,
SDWebImageManager *sharedManager = [SDWebImageManager sharedManager];
[sharedManager.imageDownloader setMaxConcurrentDownloads:1];
[sharedManager cancelAll]; //cancel all current queue
[yourImageView setImageWithURL:URL];