修改超时时间
parent
d155d61ea5
commit
99da2f8015
|
@ -397,10 +397,9 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
|||
Future<DataValue[][]> currentFuture = executor.submit(tasks.poll());
|
||||
if (!CollectionUtils.isEmpty(list)) {
|
||||
for (NodeRule nodeRule : list) {
|
||||
log.info("============ {} +++++++" ,nodeRule.getRuleId());
|
||||
|
||||
Result<RuleEngineVersion> result = ruleConfig.findVersionById(nodeRule.getRuleId());
|
||||
RuleEngineVersion data = result.getData();
|
||||
log.info("className:{}",data.getClassName());
|
||||
final Future<DataValue[][]> finalCurrentFuture = currentFuture;
|
||||
log.info(finalCurrentFuture);
|
||||
Callable<DataValue[][]> task = () -> {
|
||||
|
@ -452,6 +451,7 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
|||
List<DataValue[]> listArrays = Arrays.stream(prevResult).toList();
|
||||
listArrays.removeAll(set);
|
||||
DataValue[][] array = (DataValue[][]) listArrays.toArray();
|
||||
log.info(array.toString());
|
||||
return array;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue