From 18ac577c7fbeba7a8dd278f08a492f2a5a316783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20F=C3=B6rster?= Date: Fri, 30 Aug 2024 23:14:41 +0200 Subject: [PATCH] increase retry delay to 1 second MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Toni Förster --- Model/ThumbnailsModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/ThumbnailsModel.swift b/Model/ThumbnailsModel.swift index 0b6c800e..66917a54 100644 --- a/Model/ThumbnailsModel.swift +++ b/Model/ThumbnailsModel.swift @@ -7,7 +7,7 @@ final class ThumbnailsModel: ObservableObject { @Published var unloadable = Set() private var retryCounts = [URL: Int]() private let maxRetries = 3 - private let retryDelay: TimeInterval = 0.25 + private let retryDelay: TimeInterval = 1.0 func insertUnloadable(_ url: URL) { let retries = (retryCounts[url] ?? 0) + 1