[skip ci] Remove queue in main (#8354)

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
pull/8409/head
shiyu22 2021-09-23 16:42:30 +08:00 committed by GitHub
parent d284f8dbc8
commit 423d7093f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -4,7 +4,6 @@ import time
import argparse import argparse
import logging import logging
import traceback import traceback
# from queue import Queue
from yaml import full_load, dump from yaml import full_load, dump
from milvus_benchmark.metrics.models.server import Server from milvus_benchmark.metrics.models.server import Server
from milvus_benchmark.metrics.models.hardware import Hardware from milvus_benchmark.metrics.models.hardware import Hardware
@ -21,9 +20,6 @@ from logs import log
log.setup_logging() log.setup_logging()
logger = logging.getLogger("milvus_benchmark.main") logger = logging.getLogger("milvus_benchmark.main")
# q = Queue()
def positive_int(s): def positive_int(s):
i = None i = None
try: try:
@ -273,4 +269,4 @@ if __name__ == "__main__":
sys.exit(-2) sys.exit(-2)
# block_scheduler.shutdown(wait=False) # block_scheduler.shutdown(wait=False)
logger.info("All tests run finshed") logger.info("All tests run finshed")
sys.exit(0) sys.exit(0)