mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-09-04 23:26:39 +08:00
fix(core): recover task state correctly on restart
This commit is contained in:
@@ -35,6 +35,7 @@ type Task struct {
|
||||
processing map[string]TaskElementInfo
|
||||
processingMu sync.RWMutex
|
||||
failed map[string]error
|
||||
overwrite bool // recovered: overwrite storage targets instead of uniquifying
|
||||
}
|
||||
|
||||
// Title implements core.Executable.
|
||||
|
||||
Reference in New Issue
Block a user