测试线程池
parent
a40f090fab
commit
6ebb410ecd
|
@ -247,6 +247,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
|
||||||
Result result = dataValueClient.addProduct(basicId, tableId, tableValue);
|
Result result = dataValueClient.addProduct(basicId, tableId, tableValue);
|
||||||
log.info("添加结果为{}", result);
|
log.info("添加结果为{}", result);
|
||||||
log.info("添加到queue里成功");
|
log.info("添加到queue里成功");
|
||||||
|
}
|
||||||
|
|
||||||
// private void selectAndAdd(Integer count,Long databaseId,Long basicId,String sql,Long tableId,
|
// private void selectAndAdd(Integer count,Long databaseId,Long basicId,String sql,Long tableId,
|
||||||
// HashMap<String,String> newAndOldMap,Integer two) {
|
// HashMap<String,String> newAndOldMap,Integer two) {
|
||||||
|
@ -361,7 +362,6 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
|
||||||
// return Integer.compare(o.geWeight().getWeight(), this.weight.getWeight());
|
// return Integer.compare(o.geWeight().getWeight(), this.weight.getWeight());
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
|
||||||
|
|
||||||
// @Autowired
|
// @Autowired
|
||||||
// private NodeRuleService nodeRuleService;
|
// private NodeRuleService nodeRuleService;
|
||||||
|
|
|
@ -67,3 +67,11 @@ mybatis-plus:
|
||||||
logic-delete-value: 1 # 逻辑删除标记值,例如设置为 1 表示已删除
|
logic-delete-value: 1 # 逻辑删除标记值,例如设置为 1 表示已删除
|
||||||
logic-not-delete-value: 0 # 逻辑未删除标记值,例如设置为 0 表示未删除
|
logic-not-delete-value: 0 # 逻辑未删除标记值,例如设置为 0 表示未删除
|
||||||
banner: false # 关闭控制台打印的 MyBatis-Plus Banner
|
banner: false # 关闭控制台打印的 MyBatis-Plus Banner
|
||||||
|
|
||||||
|
feign:
|
||||||
|
client:
|
||||||
|
config:
|
||||||
|
## default 设置的全局超时时间,指定服务名称可以设置单个服务的超时时间
|
||||||
|
default:
|
||||||
|
connectTimeout: 5000
|
||||||
|
readTimeout: 5000
|
||||||
|
|
Loading…
Reference in New Issue