修改超时时间
parent
99da2f8015
commit
04449e4c41
|
@ -401,17 +401,23 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
|||
Result<RuleEngineVersion> result = ruleConfig.findVersionById(nodeRule.getRuleId());
|
||||
RuleEngineVersion data = result.getData();
|
||||
final Future<DataValue[][]> finalCurrentFuture = currentFuture;
|
||||
log.info(finalCurrentFuture);
|
||||
// log.info(finalCurrentFuture);
|
||||
Callable<DataValue[][]> task = () -> {
|
||||
DataValue[][] prevResult = finalCurrentFuture.get();
|
||||
HashSet<Integer> set = new HashSet<>();
|
||||
//log.info(data.getClassName());
|
||||
if (data.getRuleId().equals("3")) {
|
||||
log.info("1");
|
||||
DataValueRows dataValueRows = new DataValueRows();
|
||||
log.info("2");
|
||||
dataValueRows.setDataValue(prevResult);
|
||||
log.info("3");
|
||||
dataValueRows.setKey(nodeRule.getConfig());
|
||||
log.info("4");
|
||||
Result<DataValue[][]> result1 = ruleConfig.DataSetEngine(data.getClassName(), dataValueRows);
|
||||
log.info("5");
|
||||
if (result1.getCode() == 200) {
|
||||
log.info("6");
|
||||
prevResult = result1.getData();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue