BusyWorkers returns the numbers of workers in the running process.
()
| 157 | |
| 158 | // BusyWorkers returns the numbers of workers in the running process. |
| 159 | func (q *queue) BusyWorkers() int { |
| 160 | return int(q.metric.BusyWorkers()) |
| 161 | } |
| 162 | |
| 163 | // BusyWorkers returns the numbers of success tasks. |
| 164 | func (q *queue) SuccessTasks() int { |