。。。

This commit is contained in:
wangliwen 2022-08-26 14:12:13 +08:00
parent 841cb32035
commit 8ce17a5601
1 changed files with 1 additions and 2 deletions

View File

@ -1275,9 +1275,8 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
customThreadPool.shutdown(); customThreadPool.shutdown();
}, executor)); }, executor));
try { try {
Thread.sleep(100); // 防止任务运行过快无法跳出循环 Thread.sleep(300); // 防止任务运行过快无法跳出循环
} catch (InterruptedException e) { } catch (InterruptedException e) {
logger.info("知识库同步异常", e); logger.info("知识库同步异常", e);
} }