global['DEBUG'] = false; global['TYPE_SELF_CALL'] = 'ws-chat_call'; global['TYPE_MODULE_CALL'] = 'ws-chat_call'; global['CALL_LOG_KEY'] = 'logstash:redis'; let dbInfo = {}; dbInfo['dw_dice'] = { host : '172.31.47.187', user : 'web', password : '18ca8ffec7a7597', database : 'dw_dice', port : 6301, connectionLimit : 3000 }; dbInfo['dw_eos'] = { host : '172.31.47.187', user : 'web', password : '18ca8ffec7a7597', database : 'dw_eos', port : 6301, connectionLimit : 3000 }; dbInfo['dw_chat'] = { host : '172.31.47.187', user : 'web', password : '18ca8ffec7a7597', database : 'dw_chat', port : 6301, connectionLimit : 3000 }; dbInfo['dw_box'] = { host : '172.31.47.187', user : 'web', password : '18ca8ffec7a7597', database : 'dw_box', port : 6301, connectionLimit : 3000 }; let redisInfo = {}; redisInfo['dw_dice'] = { host : '172.31.47.187', port : 6381, pwd : '5f8ebe00a28837409', password : '5f8ebe00a28837409', }; redisInfo['dw_box'] = { host : '172.31.47.187', port : 6382, pwd : '5f8ebe00a28837409', password : '5f8ebe00a28837409', }; redisInfo['dw_chat'] = redisInfo['dw_box']; redisInfo['logstash_redis'] = { host : '172.31.47.187', port : 6380, pwd : '5f8ebe00a28837409', password : '5f8ebe00a28837409', }; exports.dbInfo = dbInfo; exports.redisInfo = redisInfo;