未验证 提交 08553475 编写于 作者: X xige-16 提交者: GitHub

[skip ci] Add comment for newTaskScheduler (#9687)

Signed-off-by: Nxige-16 <xi.ge@zilliz.com>
上级 aba9aa45
......@@ -137,6 +137,7 @@ type TaskScheduler struct {
cancel context.CancelFunc
}
// NewTaskScheduler reloads tasks from kv and returns a new taskScheduler
func NewTaskScheduler(ctx context.Context, meta Meta, cluster Cluster, kv *etcdkv.EtcdKV, rootCoord types.RootCoord, dataCoord types.DataCoord) (*TaskScheduler, error) {
ctx1, cancel := context.WithCancel(ctx)
taskChan := make(chan task, 1024)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册