Browse Source

REPORT-57521 去掉websocket断开提示延迟

bugfix/11.0
方磊 3 years ago
parent
commit
3e2795fc1b
  1. 7
      designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

7
designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

@ -63,7 +63,6 @@ import java.net.URL;
import java.security.KeyStore;
import java.util.Arrays;
import java.util.Timer;
import java.util.TimerTask;
public class DesignerSocketIO {
@ -245,10 +244,6 @@ public class DesignerSocketIO {
@Override
public void call(Object... objects) {
FineLoggerFactory.getLogger().info("start disConnectHintTimer");
disConnectHintTimer = new Timer();
disConnectHintTimer.schedule(new TimerTask() {
@Override
public void run() {
try {
/*
* todo 远程心跳断开不一定 socket 断开 和远程紧密相关的业务都绑定在心跳上切换成心跳断开之后进行提醒
@ -264,8 +259,6 @@ public class DesignerSocketIO {
disConnectHintTimer = null;
}
}
}, disConnectHintTimerDelay);
}
};
private static void dealWithSocketDisconnect() {

Loading…
Cancel
Save