Skip to content
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

Make iOS more responsive #8

Open
guusdk opened this issue Apr 17, 2020 · 0 comments
Open

Make iOS more responsive #8

guusdk opened this issue Apr 17, 2020 · 0 comments

Comments

@guusdk
Copy link
Member

guusdk commented Apr 17, 2020

As explained in https://github.com/anurodhp/Monal/issues/354#issuecomment-614562560:
If a stream management ack is not received for a certain time (in prosody I use 30 seconds as default), send pushes for all messages in the smacks queue (but only once!) and directly trigger pushes for all messages coming after this until an ack is finally received or the session gets hibernated.

If you don't do this, depending on the TCP timeout (up to 8 minutes) the conversation will be disrupted for that long (or even longer if you don't handle pushes for stanzas still in the queue when a session gets hibernated).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant