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

Only return latest hashes when responding to live channel time range requests #5

Open
mycognosist opened this issue Sep 12, 2023 · 0 comments

Comments

@mycognosist
Copy link
Contributor

Responses to live channel time range requests are currently rather inefficient, since they send hashes for all posts matching the channel options every time a new post is published. It would be much better to only send a singe hash each time a new post is published.

The relevant code can be found in the send_post_hashes() method, specifically in the match arm for LiveRequest::ChannelTimeRange(req_id, channel_opts).

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

No branches or pull requests

1 participant