Files
PriceSystem/PriceSystem/config/__init__.py
T
罗干 58968908de 修改: PriceSystem/config/__init__.py
修改:     PriceSystem/fangjia/__init__.py
	修改:     PriceSystem/feature/region_feature.py
	修改:     PriceSystem/rent_price/district_map0413.py
	修改:     PriceSystem/rent_test.py
2018-05-07 17:41:05 +08:00

104 lines
1.2 KiB
Python

def get_worker_num():
"""
获取进行均价计算的进程数
:return:
"""
return 20
def get_redis_host():
return "192.168.0.144"
def get_district_stat_host():
return "avgprice.mongo.db.fangjia.com"
def get_district_stat_port():
return 27017
def get_redis_db():
return 1
def get_redis_cache_db():
return 2
def get_mongodb_host():
return "mongo.db.fangjia.com"
def get_mongodb_port():
return 27017
def get_log_mongodb_host():
return "log.mongo.db.fangjia.com"
def get_log_mongodb_port():
return 52002
def get_timeout():
return 0.3
def get_seawater_host():
return "seawater.db.fangjia.com"
def get_seaweed_host():
return "192.168.0.136"
def get_seaweed_port():
return 27017
def get_rent_calc_cmd_queue_name():
"""
获取租金计算命令的队列名称
:return:
"""
return "rent_cmd"
##########################################3
#the code below is about square meter rent price
def get_sqm_rentprice_db():
return "sqmetre_rent"
def get_rent_temp_db():
return "temp_rent"
def get_lg_mongo():
return 'luogan.mongo.com'
def get_rent_redis_db():
return 1
def get_save_db():
return 'district_stat_all_0427'