1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

assistant添加异常捕获,避免数据库死锁异常造成assistant中断

This commit is contained in:
2022-10-29 17:17:07 +08:00
parent fae4db04a3
commit c02dcdf814
3 changed files with 40 additions and 39 deletions

View File

@@ -84,7 +84,7 @@ async function main(args) {
case 'assistant':
await assistantUtils.updateWaitTable();
await sleepUtils.sleep(5000);
await sleepUtils.sleep(10 * 1000);
break;
default:
console.log("utils参数不匹配退出");