52 lines
642 B
Python
52 lines
642 B
Python
logging_config = {
|
|
|
|
}
|
|
|
|
|
|
def get_logging_config():
|
|
return logging_config
|
|
|
|
|
|
def get_worker_num():
|
|
return 10
|
|
|
|
|
|
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_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"
|