status-go/cmd
Icaro Motta dbed69d155
perf(login)!: Set-up messenger filters outside login flow (#5229)
Fixes the slow login in mobile devices when users have joined large communities,
such as the Status one. A user would get stuck for almost 20s in some devices.

We identified that the step to set-up filters in the messenger is potentially
expensive and that it is not critical to happen before the node.login signal is
emitted. The solution presented in this PR is to set-up filters inside
messenger.Start(), which the client already calls immediately after login.

With this change, users of the mobile app can login pretty fast even when they
joined large communities. They can immediately interact with other parts of the
app even if filter initialization is running in the background, like Wallet,
Activity Center, Settings, and Profile.

Breaking changes: in the mobile repository, we had to change where the endpoint
wakuext_startMessenger was called and the order of a few events to process
chats. So essentially ordering, but no data changes.

- Root issue https://github.com/status-im/status-mobile/issues/20059
- Related mobile PR https://github.com/status-im/status-mobile/pull/20173
2024-06-10 12:02:42 -03:00
..
bootnode Remove protocol and eth-node submodules (#1835) 2020-02-10 12:22:37 +01:00
library feat: add function to free memory (#2344) 2021-08-31 15:17:44 -04:00
node-canary Feat/sync customization color (#3702) 2023-07-18 21:35:06 +08:00
ping-community fix: proper usage of CreateAccount RootDataDir (#5284) 2024-06-05 14:03:34 +01:00
populate-db fix: proper usage of CreateAccount RootDataDir (#5284) 2024-06-05 14:03:34 +01:00
spiff-workflow fix: proper usage of CreateAccount RootDataDir (#5284) 2024-06-05 14:03:34 +01:00
status-cli fix_: ability to turn on/off interactive mode in serve (#5318) 2024-06-10 13:21:09 +03:00
statusd perf(login)!: Set-up messenger filters outside login flow (#5229) 2024-06-10 12:02:42 -03:00
topics Clean topics that we don't listen to 2021-01-26 09:39:57 +01:00