I am using MongooseIM as chat server and connecting it over websocket using xmpp.js inside react-native application. The server forcefully closes the connection after 60s on inactivity. I want to know:
- If this is the default config?
- Should/Can I change it?
- Should I set up ping mechanism such that my client must send some pings after every 60s to avoid disconnect