mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for scheduler's taskChan (#9686)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/9703/head
parent
56b0b3a57b
commit
f8054a409e
|
@ -45,6 +45,7 @@ type TaskQueue struct {
|
||||||
sync.Mutex
|
sync.Mutex
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Chan returns the taskChan of taskQueue
|
||||||
func (queue *TaskQueue) Chan() <-chan int {
|
func (queue *TaskQueue) Chan() <-chan int {
|
||||||
return queue.taskChan
|
return queue.taskChan
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue