forked from External/mage
More changes to user and session handling. Fixes somes issues with client reconnect and connecting other instance.
This commit is contained in:
parent
180bae323d
commit
df04bf829d
5 changed files with 47 additions and 17 deletions
|
|
@ -213,7 +213,11 @@ public class Main {
|
|||
SessionManager.getInstance().disconnect(client.getSessionId(), DisconnectReason.LostConnection);
|
||||
logger.info("CONNECTION LOST - " + sessionInfo, throwable);
|
||||
if (logger.isDebugEnabled()) {
|
||||
throwable.printStackTrace();
|
||||
if (throwable == null) {
|
||||
logger.debug("Lease expired");
|
||||
} else {
|
||||
throwable.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue