mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for NewConsistentHashChannelPolicyFactory (#10131)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/10168/head
parent
9847063a40
commit
09435300b6
|
@ -70,6 +70,7 @@ type ConsistentHashChannelPolicyFactory struct {
|
|||
hashring *consistent.Consistent
|
||||
}
|
||||
|
||||
// NewConsistentHashChannelPolicyFactory creates a new consistent hash policy factory instance
|
||||
func NewConsistentHashChannelPolicyFactory(hashring *consistent.Consistent) *ConsistentHashChannelPolicyFactory {
|
||||
return &ConsistentHashChannelPolicyFactory{
|
||||
hashring: hashring,
|
||||
|
|
Loading…
Reference in New Issue