mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Raise cached article limit in ArticleThumbnailFinder so the cache doesn’t get emptied on super-large timelines as often.
This commit is contained in:
1 parent
70cbd39834
commit
dc2bb43fa7
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user