How long does server wait before closing an inactive connection?
When I was testing an embedded WS client with Ratchet, I noticed all connections were eventually closed by server after being inactive for certain period of time, ranging 1 ~ 2 hours, even if the client didn't gracefully close connections, due to power off or board being forcefully reset.

I briefly went through the code, seem not able to find the interval after which an idle connection will be closed. Can somebody advise.

Thanks.