perf(command): 增加启动同步任务的并发数
This commit is contained in:
@@ -235,7 +235,7 @@ public class YarnCommand extends AbstractUtilShellComponent {
|
||||
.distinct();
|
||||
try (ProgressBar pb = CommandLineUtils.progressbarBuilder("Run jobs", ids.size()).build()) {
|
||||
ids
|
||||
.asParallel(ExecutorProvider.EXECUTORS_2, 1)
|
||||
.asParallel(ExecutorProvider.EXECUTORS_5, 1)
|
||||
.forEach(id -> {
|
||||
launcherService.syncStart(id);
|
||||
pb.setExtraMessage(id.toString());
|
||||
|
||||
Reference in New Issue
Block a user