Idle Connections Policy is not invalid

Disconnect clients after they have been idle for 2 seconds

I set it like that,but it still disconnect automatically after 10 minutes

I have restarted the server,but it is not still invalid

I use openfire with 4.5.1

What exactly are you trying to achieve?

I want to disconnect after 2 seconds,the user’s status will be offline,offline message will be saved

What is the client and how you make that it is idle? Also, does it have a reconnect option? Because even if disconnected clients will try reconnecting again.

my client is android,use the smack,the client’s network has been disconnected,reconnecting is invalid