Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

federation transaction queue gets wedged on a large queue of to-device messages #2003

@richvdh

Description

@richvdh

If the number of to-device messages exceeds 100, then get_new_device_msgs_for_remote returns the oldest 100, and the stream_id of the newest of those 100, as a long.

This value is then stored in last_device_list_stream_id_by_dest, and is sent back into get_new_device_msgs_for_remote on the next loop. That calls has_entity_changed, which asserts that the stream_id is an int - hence the federation request is never sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions