4 ms·
any pointers how you implemented hearbeat with nginx? thank you
by daemon13 13y ago
any pointers how you implemented hearbeat with nginx?
thank you
- atto 13y agoYou actually need to implement it outside of nginx. The easiest way is just have the client send a message every x seconds, and your application server will immediately respond. If the server does not respond quickly (within a few seconds), close the connection and optionally reconnect.