Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/unpackerr/folder.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ func (u *Unpackerr) checkFolderStats() {
folder.step = WAITING
u.Printf("[Folder] Re-starting Failed Extraction: %s (%d/%d, failed %v ago)",
folder.cnfg.Path, folder.retr, u.MaxRetries, elapsed.Round(time.Second))
case EXTRACTFAILED == folder.step && folder.retr < u.MaxRetries:
// This empty block is to avoid deleting an item that needs more retries.
case folder.step > EXTRACTING && folder.cnfg.DeleteAfter.Duration <= 0:
// if DeleteAfter is 0 we don't delete anything. we are done.
u.updateQueueStatus(&newStatus{Name: name, Status: DELETED, Resp: nil}, false)
Expand Down
2 changes: 1 addition & 1 deletion pkg/unpackerr/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (u *Unpackerr) logStartupInfo(msg string) {
u.Printf(" => Parallel: %d", u.Config.Parallel)
u.Printf(" => Passwords: %d (rar/7z)", len(u.Config.Passwords))
u.Printf(" => Interval: %v", u.Config.Interval)
u.Printf(" => Start Delay: %v", u.Config.StartDelay)
u.Printf(" => Start/Delete Delay: %v/%v", u.Config.StartDelay, u.Config.DeleteDelay)
u.Printf(" => Retry Delay: %v, max: %d", u.Config.RetryDelay, u.Config.MaxRetries)
u.Printf(" => GUI / StdErr: %v / %v", ui.HasGUI(), u.ErrorStdErr)
u.Printf(" => Debug / Quiet: %v / %v", u.Config.Debug, u.Config.Quiet)
Expand Down