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

timeline: after an event cache update lag, fetch previous events back from the cache #3345

Merged
merged 1 commit into from
Apr 22, 2024

Commits on Apr 19, 2024

  1. timeline: after an event cache update lag, fetch previous events back…

    … from the cache
    
    Fixes #3311.
    
    When the timeline is lagging behind the event cache, it should not only
    clear what it contains (because it may be lagging some information
    coming from the event cache), it should also retrieve the events the
    cache knows about, and adds them as if they were "initial" events.
    
    This makes sure that the event cache's events and the timeline's events
    are always the same, and that, in the case of a lag, there won't be any
    missing chunks (caused by the event cache back-pagination being further
    away in the past, than what's displayed in the timeline).
    
    The lag behind a bit too hard to reproduce, I've not included a test
    here; but I think this should be the right move.
    bnjbvr committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    712ecf5 View commit details
    Browse the repository at this point in the history