[skip ci] Add comment of benchmark (#10833)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/10842/head
wt 2021-10-28 18:52:24 +08:00 committed by GitHub
parent adbc2fd9da
commit d447f3b584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -53,5 +53,6 @@ def save(obj):
env_doc_id = insert_or_get(md5)
obj.env = {"id": env_doc_id, "value": vars(obj.env)}
# insert data to mongoDB
collection = _client[DB][DOC_COLLECTION]
collection.insert_one(vars(obj))