maybe let ben stay connected
Some checks failed
/ example-docker-compose (push) Has been cancelled

This commit is contained in:
Failure 2025-02-01 03:44:19 -08:00
parent 676d335781
commit 0b9f8ff7a8

View file

@ -368,9 +368,10 @@ public final class Main {
if (throwable instanceof ClientDisconnectedException) { if (throwable instanceof ClientDisconnectedException) {
// client called a disconnect command (full disconnect without tables keep) // client called a disconnect command (full disconnect without tables keep)
// no need to keep session // no need to keep session
// the above i think is a lie
logger.info("CLIENT DISCONNECTED - " + sessionInfo); logger.info("CLIENT DISCONNECTED - " + sessionInfo);
logger.debug("- cause: client called disconnect command"); logger.debug("- cause: client called disconnect command");
managerFactory.sessionManager().disconnect(client.getSessionId(), DisconnectReason.DisconnectedByUser, true); managerFactory.sessionManager().disconnect(client.getSessionId(), DisconnectReason.LostConnection, true);
} else if (throwable == null) { } else if (throwable == null) {
// lease timeout (ping), so server lost connection with a client // lease timeout (ping), so server lost connection with a client
// must keep tables // must keep tables