Merge pull request #12297 from dataease/pr@dev2@fixds

fix: 获取数据集路径失败
This commit is contained in:
taojinlong
2024-09-19 16:38:13 +08:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -555,6 +555,9 @@ public class DatasetGroupManage {
public void geFullName(Long pid, List<String> fullName) {
CoreDatasetGroup parent = coreDatasetGroupMapper.selectById(pid);// 查找父级folder
if (parent == null) {
return;
}
fullName.add(parent.getName());
if (parent.getPid() != null && parent.getPid() != 0) {
geFullName(parent.getPid(), fullName);

View File

@@ -24,7 +24,7 @@ public class CommonThreadPool {
@PostConstruct
public void init() {
scheduledThreadPoolExecutor = new ScheduledThreadPoolExecutor(corePoolSize);
scheduledThreadPoolExecutor.setMaximumPoolSize(maximumPoolSize);
scheduledThreadPoolExecutor.setMaximumPoolSize(corePoolSize);
scheduledThreadPoolExecutor.setKeepAliveTime(keepAliveSeconds, TimeUnit.SECONDS);
}