sync: collector/ 同步自 inkstone/arcrun-rag@256a68b(桌面小幫手 0.18.55)

This commit is contained in:
2026-09-17 11:27:45 +08:00
parent e4327ecd37
commit d052c33d26
10 changed files with 759 additions and 33 deletions
+3
View File
@@ -74,6 +74,9 @@ func (m *Manifest) Progress() SyncProgress {
switch {
case e.IngestedHash != "" && e.IngestedHash == e.ContentHash:
p.Done++
case isLocalNetworkText(e.LastError):
// #201:上次只是這台電腦沒連上網路 ⇒ 會自己再試,是排隊中,不是卡住。
p.Pending++
case e.FailCount >= MaxFailBeforeSkip:
// 已經放棄自動重試的不能混在 Pending 裡假裝還在排隊——
// 使用者會一直等一件永遠不會發生的事。