From 48c5a2c66c549d26fecadc6d2dad1924fdd1cc8b Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期四, 27 七月 2023 13:52:08 +0800 Subject: [PATCH] bugfix 猫眼呼叫问题修复 --- EZSDK/EZSDK/EZ/Venders/SDWebImage/SDWebImageDownloader.m | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EZSDK/EZSDK/EZ/Venders/SDWebImage/SDWebImageDownloader.m b/EZSDK/EZSDK/EZ/Venders/SDWebImage/SDWebImageDownloader.m index 1fdcfc9..f03f829 100644 --- a/EZSDK/EZSDK/EZ/Venders/SDWebImage/SDWebImageDownloader.m +++ b/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 -- Gitblit v1.8.0