Browse Source

REPORT-24455 切换远程工作目录,新建模板保存,保存的特别慢

feature/big-screen
lucian 5 years ago
parent
commit
c66568f778
  1. 4
      designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java

4
designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java vendored

@ -1,6 +1,6 @@
package com.fr.design.env; package com.fr.design.env;
import com.fr.cluster.engine.remote.ClusterOperator; import com.fr.cluster.engine.base.FineClusterConfig;
import com.fr.design.i18n.Toolkit; import com.fr.design.i18n.Toolkit;
import com.fr.stable.AssistUtils; import com.fr.stable.AssistUtils;
import com.fr.workspace.WorkContext; import com.fr.workspace.WorkContext;
@ -70,7 +70,7 @@ public class RemoteWorkspace implements Workspace {
@Override @Override
public boolean isCluster() { public boolean isCluster() {
return WorkContext.getCurrent().get(ClusterOperator.class).isCluster(); return FineClusterConfig.getInstance().isCluster();
} }
@Override @Override

Loading…
Cancel
Save