Skip to content

Major regression in sync time #4728

@ara4n

Description

@ara4n

Steps to reproduce

For the last ~2 weeks, EXI reliably takes ~30s to sync for me on every fresh launch.

Doug looked into it, and saw:

The first /sync request is instant but fails because the token need to be refreshed.
It takes 1.5 seconds to refresh the token.
The second /sync request is sent and 2 seconds later a SyncLoopSkipOverCurrentIteration happens.
No response is received.
A third /sync request is sent and 7 seconds later another SyncLoopSkipOverCurrentIteration happens.
No response is received.
A fourth /sync request is sent and takes 34 seconds until a response is received.
Then there's 3 more SyncLoopSkipOverCurrentIteration over 10 seconds before everything starts to work as normal.

Filing this issue to try to get it properly triaged and fixed.

Outcome

What did you expect?

Instant sync

What happened instead?

Worse sync than Element Classic.

Your phone model

iPhone 12 Pro Max

Operating system version

iOS 26

Application version

1062

Homeserver

matrix.org

Will you send logs?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-SyncO-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectX-Needs-BackendX-Needs-RustThis issue needs a Rust SDK change. It must have a link to a Rust SDK issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions