Browse Source

REPORT-111337 【设计器性能】缓存方案代码规范

fix-lag
Destiny.Lin 11 months ago
parent
commit
4c6f5c6179
  1. 4
      designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

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

@ -119,7 +119,7 @@ public class DesignerSocketIO {
socket = IO.socket(new URI(connectionInfo.getUri()), connectionInfo.getSocketConfig().createOptions()); socket = IO.socket(new URI(connectionInfo.getUri()), connectionInfo.getSocketConfig().createOptions());
socket.on(WorkspaceConstants.WS_LOGRECORD, printLog); socket.on(WorkspaceConstants.WS_LOGRECORD, printLog);
socket.on(WorkspaceConstants.CONFIG_MODIFY, modifyConfig); socket.on(WorkspaceConstants.CONFIG_MODIFY, modifyConfig);
socket.on(WorkspaceConstants.AUTHOR_SERVER_DATA_IT, authorServerDataIt); socket.on(WorkspaceConstants.AUTHOR_SERVER_DATA_IT, MODIFY_AUTHOR_SERVER_DATA_IT);
socket.on(Socket.EVENT_CONNECT_ERROR, failRetry); socket.on(Socket.EVENT_CONNECT_ERROR, failRetry);
socket.on(Socket.EVENT_DISCONNECT, disConnectHint); socket.on(Socket.EVENT_DISCONNECT, disConnectHint);
socket.on(Socket.EVENT_CONNECT, handleConnect); socket.on(Socket.EVENT_CONNECT, handleConnect);
@ -315,7 +315,7 @@ public class DesignerSocketIO {
} }
}; };
private static final Emitter.Listener authorServerDataIt = new Emitter.Listener() { private static final Emitter.Listener MODIFY_AUTHOR_SERVER_DATA_IT = new Emitter.Listener() {
@Override @Override
public void call(Object... objects) { public void call(Object... objects) {
FineLoggerFactory.getLogger().info("[AuthServerDataSetNamesIt] update server data author"); FineLoggerFactory.getLogger().info("[AuthServerDataSetNamesIt] update server data author");

Loading…
Cancel
Save