Skip to content

Conversation

@Antreesy
Copy link
Contributor

@Antreesy Antreesy commented Nov 29, 2023

☑️ Resolves

  • Hopefully reduce a server load during start of the call for large amount of participants:
    • Apply fast update only when user is in the call and has tab visible
    • Debounce fetching participants list when join the conversation (3s when conversation has no call, 15s otherwise - enough time to join call and not trigger fetch request)

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

To test locally:

  • When in chat and someone joins conversation and call within 15s - should be only one request in Networks
  • When in call and someone joins conversation and call within 5s - should be only one request in Networks

🏁 Checklist

  • 🌏 Tested with Chrome, Firefox and Safari or should not be risky to browser differences

Copy link
Contributor

@DorraJaouad DorraJaouad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again I didn't mean to approve :(

@Antreesy Antreesy force-pushed the fix/noid/reduce-fetch-participants branch from c6b99d7 to 9489c3d Compare November 30, 2023 08:58
@Antreesy Antreesy requested a review from DorraJaouad November 30, 2023 09:01
Copy link
Contributor

@DorraJaouad DorraJaouad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks better, thanks

@Antreesy
Copy link
Contributor Author

Antreesy commented Nov 30, 2023

slow and fast debounces are parallel, looking for a way to fix it

UPD: didn't find a quick solution, will raise a follow-up

@Antreesy Antreesy marked this pull request as draft November 30, 2023 09:37
@Antreesy Antreesy marked this pull request as ready for review November 30, 2023 10:10
@Antreesy Antreesy merged commit 024b48f into main Nov 30, 2023
@Antreesy Antreesy deleted the fix/noid/reduce-fetch-participants branch November 30, 2023 10:17
@Antreesy
Copy link
Contributor Author

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants