mattermost / mattermost

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
https://mattermost.com
Other
30.45k stars 7.29k forks source link

RN: Batch fetching unreads on entry #24461

Open mattermod opened 1 year ago

mattermod commented 1 year ago

When the app starts, we fetch messages from all unread channels. We do this with a delay, but we send all the promises together.

If the number of unread channels is too large, we may be creating issues in the performance of the first interactions of the user with the app.

The proposal is to batch the messages fetch in a smaller set of promises (or even one by one) to make sure there is space for other network requests to go in between these.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-54200

harshal2030 commented 1 year ago

interested in solving this

larkox commented 1 year ago

@harshal2030 All yours!