提交 f8587ed7 作者: chenshiqiang

deal

上级 9a2d40ab
...@@ -174,9 +174,13 @@ class KnowledgeServiceImpl implements IKnowledgeService { ...@@ -174,9 +174,13 @@ class KnowledgeServiceImpl implements IKnowledgeService {
for (String id : split) { for (String id : split) {
esOpUtil.docDeleteById(Constants.ES_DATA_FOR_KNOWLEDGE, id); esOpUtil.docDeleteById(Constants.ES_DATA_FOR_KNOWLEDGE, id);
} }
for (String id : split) {
CompletableFuture.runAsync(() -> deleteForPython(id)); CompletableFuture.runAsync(() ->{
} for (String id : split) {
deleteForPython(id);
}
});
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论