Reputation: 582
I have configured XMPP client (iOS) and Openfire , everything works just fine except that i am not able to handle the following situation.
How can i solve this issue?
Upvotes: 0
Views: 882
Reputation: 582
I found a solution, not sure if it is efficient.
In Openfire admin portal, under Client Connection Settings->Idle Connections Policy, there is an option to disconnect the client if it is idle for x seconds. By default it is 360 seconds, i have changed it to 5 seconds so that the messages won't get lost.
I am not sure if its a good idea to ping the clients every 5 seconds.
Upvotes: 1