fix(download): 重试重置文件版标记;取消对挂起连接 500ms 内生效
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 48s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 48s
This commit is contained in:
1 parent
b12463cf0a
commit
39b2181b86
5 files changed
+33
-6
No files matched your search
@@ -238,6 +238,8 @@
|
||||
const e = entries.get(id)
|
||||
if (!e) return null
|
||||
e.runSeq = (e.runSeq || 0) + 1 // 旧运行作废(回包晚到不覆盖新状态)
|
||||
// 2026-12-04:用户主动重试时重新尝试文件版(否则一次失败后永远只走 base64)
|
||||
delete e.__baseFallback
|
||||
e.retries = 0
|
||||
setStatus(e, STATE.QUEUED, { lastError: '' })
|
||||
queue.push(id)
|
||||
|
||||
Reference in new issue
Block a user