44 lines
501 B
Python
44 lines
501 B
Python
logging_config = {
|
|
|
|
}
|
|
|
|
|
|
def get_logging_config():
|
|
return logging_config
|
|
|
|
|
|
def get_worker_num():
|
|
return 20
|
|
|
|
|
|
def get_redis_host():
|
|
return "192.168.0.144"
|
|
|
|
|
|
def get_redis_db():
|
|
return 1
|
|
|
|
|
|
def get_mongodb_host():
|
|
return "192.168.10.182"
|
|
|
|
|
|
def get_mongodb_port():
|
|
return 27017
|
|
|
|
|
|
def get_log_mongodb_host():
|
|
return "192.168.0.136"
|
|
|
|
|
|
def get_log_mongodb_port():
|
|
return 52005
|
|
|
|
|
|
def get_timeout():
|
|
return 0.3
|
|
|
|
|
|
def get_seawater_host():
|
|
return "seawater.db.fangjia.com"
|