()
| 64 | resultDir: resultDir, |
| 65 | }, nil |
| 66 | } |
| 67 | |
| 68 | func (m *BackgroundManager) activeCountLocked() int { |
| 69 | count := 0 |
| 70 | for _, task := range m.tasks { |
| 71 | if task.Status == "running" { |
| 72 | count++ |
| 73 | } |
| 74 | } |
| 75 | return count |
| 76 | } |
| 77 |
no outgoing calls
no test coverage detected