萤石云 iOSSDK,移植跨平台相关工程
chenqiyang
2023-06-05 cf977559d6821a1ccce2acae076835a8037f2a90
EZSDK/EZSDK/EZ/Venders/SDWebImage/SDWebImageDownloader.m
@@ -73,7 +73,7 @@
        _HTTPHeaders = [@{@"Accept": @"image/*;q=0.8"} mutableCopy];
#endif
        _barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderBarrierQueue", DISPATCH_QUEUE_CONCURRENT);
        _downloadTimeout = 15.0;
        _downloadTimeout = 30.0;
    }
    return self;
}
@@ -119,7 +119,7 @@
    [self addProgressCallback:progressBlock completedBlock:completedBlock forURL:url createCallback:^{
        NSTimeInterval timeoutInterval = wself.downloadTimeout;
        if (timeoutInterval == 0.0) {
            timeoutInterval = 15.0;
            timeoutInterval = 30.0;
        }
        // In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests if told otherwise