Include direct convert in queue totals
This commit is contained in:
parent
58773c509c
commit
cf700b2050
4
main.go
4
main.go
|
|
@ -227,6 +227,10 @@ func (s *appState) queueProgressCounts() (completed, total int) {
|
|||
pending, running, completedCount, failed := s.jobQueue.Stats()
|
||||
// Total includes all jobs in memory, including cancelled/failed/pending
|
||||
total = len(s.jobQueue.List())
|
||||
// Include direct conversion as an in-flight item in totals
|
||||
if s.convertBusy {
|
||||
total++
|
||||
}
|
||||
completed = completedCount
|
||||
_ = pending
|
||||
_ = running
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user