From dc2bb43fa7adf72189bdd85031ee2e67c5c2a4bb Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 28 Oct 2026 11:35:01 -0700 Subject: [PATCH] =?UTF-8?q?Raise=20cached=20article=20limit=20in=20Article?= =?UTF-8?q?ThumbnailFinder=20so=20the=20cache=20doesn=E2=80=99t=20get=20em?= =?UTF-8?q?ptied=20on=20super-large=20timelines=20as=20often.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Modules/Images/Sources/Images/ArticleThumbnailFinder.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift b/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift index 0aff4f5e1..b812b5eb7 100644 --- a/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift +++ b/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift @@ -75,7 +75,7 @@ extension Notification.Name { /// HTML images saved per article, so one that fails or is too small falls through to the next. nonisolated private static let maxHTMLThumbnailURLsPerArticle = 3 /// Combined entries in htmlThumbnailURLs and articleIDsWithNoHTMLThumbnail, a few hundred bytes each. Past this, both are emptied, and the next discovery reloads its articles from the database. - private static let maxCachedArticleCount = 20_000 + private static let maxCachedArticleCount = 50_000 init(imageDatabase: ImageDatabase) { self.imageDatabase = imageDatabase