From 27225947d25d47082ffc272c51ce32c86b6e6525 Mon Sep 17 00:00:00 2001 From: wangwenyan Date: Tue, 13 Mar 2018 11:06:53 +0800 Subject: [PATCH] fix bug --- PriceSystem/CalcCmdSender.py | 2 +- PriceSystem/config/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PriceSystem/CalcCmdSender.py b/PriceSystem/CalcCmdSender.py index 71dbfcd..747cd88 100644 --- a/PriceSystem/CalcCmdSender.py +++ b/PriceSystem/CalcCmdSender.py @@ -113,5 +113,5 @@ if __name__ == "__main__": logger.info("等待小区均价计算完成") send_city_calc_cmd() logger.info("城市均价计算完成") - all_calc_cmd_finish() + all_calc_cmd_finish(start_time) sys.exit(0) diff --git a/PriceSystem/config/__init__.py b/PriceSystem/config/__init__.py index cef8843..2de3607 100644 --- a/PriceSystem/config/__init__.py +++ b/PriceSystem/config/__init__.py @@ -1,4 +1,3 @@ - def get_worker_num(): return 20 @@ -28,7 +27,8 @@ def get_mongodb_port(): def get_log_mongodb_host(): - return "log.mongo.db.fangjia.com" + return "192.168.0.139" + # return "log.mongo.db.fangjia.com" def get_log_mongodb_port():