fix: 获取数据集路径失败

This commit is contained in:
taojinlong 2024-09-19 16:37:32 +08:00
parent 2300c83ae2
commit c2a3f632f6
2 changed files with 4 additions and 1 deletions

View File

@ -561,6 +561,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);
}