Users disconnect but remain online. Can I set ping timeout?

Hey,

Sometimes I see cases when users disconnect (probably without sending an ‘Unavailable’ presence) and remain online.

Is there any possible way to set a ping timeout value which would disconnect them on ping timeout?

Thanks for a great product!

Try setting systemo property **xmpp.client.idle **It’s in milliseconds. So 60000 would be for 1 minute. But it doesnt always work as espected with all clients.

Thanks wr00t!

if a client just sends presence every x seconds would it be enough for not disconnecting it?

If it sends Online presence, it shouldnt be disconnected, i think.

Thanks again, I’ll test and post the results