Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Fix huge usage bandwidth and performance issue of pinned message banner. #37

Merged

Conversation

florianduros
Copy link
Member

@florianduros florianduros commented Sep 12, 2024

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • I have licensed the changes to Element by completing the Contributor License Agreement (CLA)

Closes element-hq/element-web#28041

  • Mobile displays only the first 100 pinned message. We mimic their behaviour to have the same experience across the clients.
  • Batch 10 by 10 the request

test/utils/promise-test.ts Outdated Show resolved Hide resolved
@florianduros florianduros force-pushed the florianduros/pinned-messages/limit-number-pinned-messages branch from a1b369a to 8c33a0d Compare September 13, 2024 07:31
@florianduros florianduros added this pull request to the merge queue Sep 13, 2024
Merged via the queue into develop with commit 6b384fe Sep 13, 2024
27 checks passed
@florianduros florianduros deleted the florianduros/pinned-messages/limit-number-pinned-messages branch September 13, 2024 08:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Pin Room Banner: Unavoidable performance and bandwidth issues at high pinned message count.
2 participants