Closed oxplay2 closed 3 years ago
Hmm... but i suppose it refer only when server have connection with client?
while here we have a lot exceptions in 1 second, just because it loop connection try while server is "off"
Yes, I will work on something a little cleaner than the attached stackoverflow solution. I am thinking like a custom timeout handler with our own heartbeat from the server periodically, perhaps the heartbeat period can be configurable.
im not sure if we think about same issue. (or maybe i just dont understand hearbeat solution)
i think the only change here needed would be "custom timeout" but only for "reconnect" functionality, the other should use Netty default method.
Tagging internal issue: https://git.liquidcrystalstudios.com/outside/outside/-/issues/201
As discussed, looks like we have issue with method:
cfg.setConnectTimeoutMillis();
that do not await when trying to connect to "offline" server