Skip to content

Split background workers into Matrix-specific and general queues #617

@ZhangHanDong

Description

@ZhangHanDong

Right now MatrixRequest mixes both Matrix timeline work and non-Matrix tasks such as SearchRoomMembers, all running on the sliding-sync Tokio runtime. Per the earlier review, we should move toward having two explicit worker loops: one dedicated to Matrix sync/timeline requests and another for non-Matrix/background tasks (similar to the existing TSP worker). Track the architectural refactor to introduce separate queues/runtimes and reroute SearchRoomMembers (and any other general jobs) onto the general worker in a dedicated PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedLooking for help from anyone!

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions