[skip ci] Update nq of locust_user on benchmark (#12689)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/12694/head
wt 2021-12-03 13:45:33 +08:00 committed by GitHub
parent f6370ded2e
commit 5e0eaa54dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}