Authored by 李奇

调整开发配置

... ... @@ -148,14 +148,15 @@ module.exports = {
zookeeperServer: '192.168.102.168:2188',
redis: {
connect: {
host: '192.168.102.49',
host: '127.0.0.1',
// host: '192.168.102.49',
port: '6379',
retry_strategy(options) {
if (options.error && options.error.code === 'ECONNREFUSED') {
// console.log('redis连接不成功');
console.log('redis连接不成功');
}
if (options.total_retry_time > 1000 * 60 * 60 * 6) {
// console.log('redis连接超时');
console.log('redis连接超时');
return;
}
if (options.attempt > 10) {
... ... @@ -165,7 +166,8 @@ module.exports = {
}
},
session: {
host: '192.168.102.49',
host: '127.0.0.1',
// host: '192.168.102.49',
port: '6379',
prefix: 'yohobuy_session:'
}
... ...