-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roster load storm on startup #37
Comments
Poke @nesium |
I had that on my list for a while. I'll give it a go. Would like to handle it in the core. |
Perfect, sounds good yes! |
I think that ideally the roster should be loaded once by the core, and and then maintained w/ roster pushes from the server. Calling load roster on the app's side would not load the roster from the server if called a second time, rather return storage-backed roster data. |
Events are now throttled and coalesced. Please note the slight change in the delegate signature: Edit: Messed up the link in the commit message (prose-im/prose-core-client@fb1f7f2) |
When the Prose app starts, I receive multiple
contactChanged
androomsChanged
events, leading to local roster invalidation and reload. This ultimately leads to the app requesting the roster multiple times to the server in parallel.Those screenshots show the event/stanza storm on startup, which happen in a second or so:
The text was updated successfully, but these errors were encountered: