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.
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