|
|
@ -290,7 +290,6 @@ public class TbWebSocketHandler extends TextWebSocketHandler implements Telemetr |
|
|
log.trace("[{}] Failed to send msg", session.getId(), result.getException()); |
|
|
log.trace("[{}] Failed to send msg", session.getId(), result.getException()); |
|
|
closeSession(CloseStatus.SESSION_NOT_RELIABLE); |
|
|
closeSession(CloseStatus.SESSION_NOT_RELIABLE); |
|
|
} else { |
|
|
} else { |
|
|
lastActivityTime = System.currentTimeMillis(); |
|
|
|
|
|
String msg = msgQueue.poll(); |
|
|
String msg = msgQueue.poll(); |
|
|
if (msg != null) { |
|
|
if (msg != null) { |
|
|
sendMsgInternal(msg); |
|
|
sendMsgInternal(msg); |
|
|
|