mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-06 02:42:53 +08:00
issue: #33285 - add balancer implementation - add channel count fair balance policy - add channel assignment discover grpc service Signed-off-by: chyezh <chyezh@outlook.com>
13 lines
221 B
Go
13 lines
221 B
Go
//go:build test
|
|
// +build test
|
|
|
|
package resource
|
|
|
|
// InitForTest initializes the singleton of resources for test.
|
|
func InitForTest(opts ...optResourceInit) {
|
|
r = &resourceImpl{}
|
|
for _, opt := range opts {
|
|
opt(r)
|
|
}
|
|
}
|