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

@@ -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);
}