修改均价算法

This commit is contained in:
2018-03-08 13:15:52 +08:00
parent a16a39803e
commit 0ac41d3531
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ def worker():
except: except:
cmd = None cmd = None
if cmd is None: if cmd is None:
time.sleep(3) time.sleep(60)
logger.info("等待接受计算命令") logger.info("等待接受计算命令")
else: else:
cmd = format_cmd(cmd) cmd = format_cmd(cmd)
+1 -1
View File
@@ -8,7 +8,7 @@ def get_logging_config():
def get_worker_num(): def get_worker_num():
return 20 return 30
def get_redis_host(): def get_redis_host():