mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
762b1e1f1f
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
28 lines
502 B
Go
28 lines
502 B
Go
package querynode
|
|
|
|
type deleteNode struct {
|
|
BaseNode
|
|
deleteMsg deleteMsg
|
|
}
|
|
|
|
func (dNode *deleteNode) Name() string {
|
|
return "dNode"
|
|
}
|
|
|
|
func (dNode *deleteNode) Operate(in []*Msg) []*Msg {
|
|
return in
|
|
}
|
|
|
|
func newDeleteNode() *deleteNode {
|
|
maxQueueLength := Params.FlowGraphMaxQueueLength
|
|
maxParallelism := Params.FlowGraphMaxParallelism
|
|
|
|
baseNode := BaseNode{}
|
|
baseNode.SetMaxQueueLength(maxQueueLength)
|
|
baseNode.SetMaxParallelism(maxParallelism)
|
|
|
|
return &deleteNode{
|
|
BaseNode: baseNode,
|
|
}
|
|
}
|