fix: 补传漏洞

This commit is contained in:
wangzhongjie 2025-04-30 15:53:34 +08:00
parent 13d036f3f5
commit 96a60f2df8

View File

@ -700,6 +700,9 @@ export default class Judge {
temp.code == 2300007 || temp.code == 2300028) { temp.code == 2300007 || temp.code == 2300028) {
this.disConnectNum += 1; this.disConnectNum += 1;
if (this.disConnectNum < 5) { if (this.disConnectNum < 5) {
if (temp.code == 2300028) {
await new Promise(resolve => setTimeout(resolve, 1000)); // 延迟1秒
}
return await this.sendWriteObjectOut(data, filePath) return await this.sendWriteObjectOut(data, filePath)
} }
} }