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

Report the latest feed entry when fetching a feed for the first time #809

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tadzik
Copy link
Contributor

@tadzik tadzik commented Aug 18, 2023

We only do this for persistent storage, otherwise we'd trigger a wave of spam on every restart.

TODO:

  • Actually fetch the feed when we create a connection instead of waiting for the pool queue to catch up.

Fixes #806

On second thought, that won't work just yet – this will only report the newest entry for brand new feeds that no one has subscribed to before. We'll need some special path to make it possible to repost a previously seen entry if a room is new.

We only do this for persistent storage, otherwise we'd trigger a wave of spam on every restart.
@tadzik tadzik requested a review from a team as a code owner August 18, 2023 13:03
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.

Upon subscribing to a feed, fetch the latest entry
1 participant