Skip to content

Fix issue 2123: fine tune detection of articles evicted from cache#2127

Open
barijaona wants to merge 4 commits intoViennaRSS:stablefrom
barijaona:issue-2123
Open

Fix issue 2123: fine tune detection of articles evicted from cache#2127
barijaona wants to merge 4 commits intoViennaRSS:stablefrom
barijaona:issue-2123

Conversation

@barijaona
Copy link
Copy Markdown
Member

No description provided.

We cannot blindly trust the `isCached` property as objects in NSCache
may be evicted at any time.

Fix issue ViennaRSS#2123: articles not being marked read as expected
@barijaona barijaona changed the title Fix issue 2123: improve management of cache of folder's article Fix issue 2123: improve cache of folder's articles management Apr 19, 2026
@barijaona barijaona closed this Apr 19, 2026
@barijaona barijaona reopened this Apr 19, 2026
@barijaona barijaona changed the title Fix issue 2123: improve cache of folder's articles management Fix issue 2123: fine tune detection of articles evicted from cache Apr 19, 2026
@barijaona barijaona marked this pull request as draft April 19, 2026 15:41
@barijaona barijaona marked this pull request as ready for review April 19, 2026 17:44
@barijaona barijaona marked this pull request as draft April 22, 2026 23:46
Limit costly back-and-forth reciprocal calls  between
Folder's -ensureCache and the database.
Makes it clearer that the function does not update articles in memory,
so the caller must do it itself if needed.
@barijaona barijaona marked this pull request as ready for review April 22, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant