[skip ci] Add comment for scheduler's taskChan (#9686)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/9703/head
xige-16 2021-10-11 21:42:33 +08:00 committed by GitHub
parent 56b0b3a57b
commit f8054a409e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ type TaskQueue struct {
sync.Mutex
}
// Chan returns the taskChan of taskQueue
func (queue *TaskQueue) Chan() <-chan int {
return queue.taskChan
}