mirror of https://github.com/milvus-io/milvus.git
[skip ci] Update nq of locust_user on benchmark (#12689)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/12694/head
parent
f6370ded2e
commit
5e0eaa54dc
|
@ -73,7 +73,7 @@ def locust_executor(host, port, collection_name, connection_type="single", run_p
|
|||
MyUser.values = {
|
||||
"ids": [random.randint(1000000, 10000000) for _ in range(nb)],
|
||||
"get_ids": [random.randint(1, 10000000) for _ in range(nb)],
|
||||
"X": utils.generate_vectors(nq, MyUser.op_info["dimension"])
|
||||
"X": utils.generate_vectors(_nq, MyUser.op_info["dimension"])
|
||||
}
|
||||
|
||||
# MyUser.tasks = {Tasks.query: 1, Tasks.flush: 1}
|
||||
|
|
Loading…
Reference in New Issue