Skip to content

Commit

Permalink
dss-server不论是否是管理节点都对appconn进行缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
liaowenlen committed Sep 4, 2024
1 parent 75d6837 commit 502b253
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
import com.webank.wedatasphere.dss.appconn.manager.utils.AppConnManagerUtils;
import com.webank.wedatasphere.dss.common.exception.DSSRuntimeException;
import com.webank.wedatasphere.dss.common.utils.DSSExceptionUtils;
import com.webank.wedatasphere.dss.framework.appconn.conf.AppConnConf;
import com.webank.wedatasphere.dss.framework.appconn.service.AppConnQualityChecker;
import com.webank.wedatasphere.dss.framework.appconn.service.AppConnResourceUploadService;
import com.webank.wedatasphere.dss.sender.service.conf.DSSSenderServiceConf;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.apache.linkis.common.utils.Utils;
import org.apache.linkis.server.Message;
Expand Down Expand Up @@ -65,6 +63,8 @@ public class AppConnManagerRestfulApi {

@PostConstruct
public void init() throws InterruptedException {
AppConnManager.getAppConnManager();

//仅dss-server-dev的其中一个服务需要作为appconn-manager节点上传appconn包,其他服务都是client端
if (AppConnManagerCoreConf.IS_APPCONN_MANAGER.getValue()) {
LOGGER.info("First, try to load all AppConn...");
Expand Down

0 comments on commit 502b253

Please sign in to comment.