Browse Source

修正负载生成

pull/1/head
李云帆 2 years ago
parent
commit
8b8415b320
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fe/bench/workload.py

+ 1
- 1
fe/bench/workload.py View File

@ -84,7 +84,7 @@ class Workload:
assert code == 200 assert code == 200
self.store_ids.append(store_id) self.store_ids.append(store_id)
row_no = 0 row_no = 0
self.book_ids[store_id] = []
while row_no < self.book_num_per_store: while row_no < self.book_num_per_store:
books = self.book_db.get_book_info(row_no, self.batch_size) books = self.book_db.get_book_info(row_no, self.batch_size)
if len(books) == 0: if len(books) == 0:

Loading…
Cancel
Save