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

chore(sdk): Remove one TODO in Sliding Sync #2332

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

Hywan
Copy link
Member

@Hywan Hywan commented Jul 26, 2023

Address #1911.

The batch subscriber exists in matrix_sdk_ui::RoomList (#2322) instead of being added here.

We must keep the observable capacity to 4096, but the TODO is no longer relevant.

Why keeping the capacity to 4096? Because if the batch subscriber (in RoomList) isn't “listened” quickly, we don't want to get a Reset.

The batch subscriber exists in `matrix_sdk_ui::RoomList` (https://
github.com/matrix-org/pull/2322) instead of being added
here.

We must keep the observable capacity to 4096, but the `TODO` is no
longer relevant.

Why keeping the capacity to 4096? Because if the batch subscriber (in
`RoomList`) isn't “listened” quickly, we don't want to get a `Reset`.
@Hywan Hywan requested a review from a team as a code owner July 26, 2023 13:28
@Hywan Hywan requested review from bnjbvr and removed request for a team July 26, 2023 13:28
@Hywan Hywan mentioned this pull request Jul 26, 2023
62 tasks
@Hywan Hywan merged commit 936a2ee into matrix-org:main Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants