feat: 重启服务逻辑设计有问题
This commit is contained in:
parent
a204cbafd0
commit
f0095e5610
@ -702,9 +702,8 @@ export default class Judge {
|
||||
if (this.disConnectNum < 5) {
|
||||
if (temp.code == 2300028) {
|
||||
await new Promise(resolve => setTimeout(resolve, 1000)); // 延迟1秒
|
||||
} else {
|
||||
return await this.sendWriteObjectOut(data, filePath)
|
||||
}
|
||||
return await this.sendWriteObjectOut(data, filePath)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user