Skip to content

Commit a88db6b

Browse files
committed
chore: Add comment
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 913886f commit a88db6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nsq.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func (w *Worker) decBusyWorker() {
4444
atomic.AddUint64(&w.busyWorkers, ^uint64(0))
4545
}
4646

47+
// BusyWorkers return count of busy workers currently.
4748
func (w *Worker) BusyWorkers() uint64 {
4849
return atomic.LoadUint64(&w.busyWorkers)
4950
}

0 commit comments

Comments
 (0)