。。。
This commit is contained in:
parent
841cb32035
commit
8ce17a5601
|
@ -1275,9 +1275,8 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
customThreadPool.shutdown();
|
||||
}, executor));
|
||||
|
||||
|
||||
try {
|
||||
Thread.sleep(100); // 防止任务运行过快,无法跳出循环
|
||||
Thread.sleep(300); // 防止任务运行过快,无法跳出循环
|
||||
} catch (InterruptedException e) {
|
||||
logger.info("知识库同步异常", e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue