Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/chapter not getting deleted after being read #532

Merged
merged 2 commits into from
Jan 1, 2024
Merged

Fix/chapter not getting deleted after being read #532

merged 2 commits into from
Jan 1, 2024

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented Jan 1, 2024

No description provided.

The subscriptions have to be permanently open, otherwise, the cache gets outdated.

E.g. in case a view is open, which does not subscribe to the download updates, finished downloads are never received and thus, data of existing chapters/mangas in the cache get outdated
…tion after reading

The manga chapters query is on "standby" to prevent the reader from rerender in case the underlying query data updates, which would cause the reader to jump back to the beginning of the last read page.
Thus, when checking if the chapter should be automatically deleted, the data from the query can't be used, since it is outdated.
@schroda schroda merged commit 05fa3d0 into Suwayomi:master Jan 1, 2024
@schroda schroda deleted the fix/chapter_not_getting_deleted_after_being_read branch January 1, 2024 21:40
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