Project

General

Profile

if there's a way to get a user real-time online_status by HTTP API when the xmppApp's network is broken?

Wei Sun
Added almost 2 years ago

Hi,I got a problem,

I refer to the operation of the site:https://projects.tigase.org/boards/17/topics/3307:

when the xmpp_client's(such as user_A) network is broken or crash, I check the user_A's status(Refer to the url:https://projects.tigase.org/boards/17/topics/3307),the status is online for more than ten minutes, but user_A's status should be offline at this moment.

What should I do to solve this problem? thanks


Replies (1)

Added by Wojciech Kapcia TigaseTeam almost 2 years ago

This is a networking problem (and characteristic of TCP protocol). You should adjust following settings to speed up discovery of user disconnection:

    (1-1/1)