matrix-org / matrix-org/matrix-js-sdk
initialSync issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
If i call initialSync without params, it brings 8 messages per room and paging does not work. If I use it with a large value (for example 1000), then the paging works fine but it takes a lot of time at startup. Can this be resolved?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the initialSync entry point and trace how its default message limit and paging are handled. Reproduce the issue with no parameters and with a large value such as 1000, then inspect the related sync and pagination tests if present. Done means paging works without requiring a large startup value or an excessively slow startup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100