mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
f02bd8c8f5
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,
|
|
}
|
|
}
|