Authored by 梁志锋

memcache的bug修复

... ... @@ -36,8 +36,9 @@ module.exports = {
master: ['192.168.102.222:11213'],
slave: ['192.168.102.222:11213'],
session: ['192.168.102.222:11213'],
timeout: 1000,
retries: 0
timeout: 100,
retries:0,
reconnect:5000
},
interfaceShunt: {
useInterfaceShunt: false,
... ... @@ -95,7 +96,9 @@ if (isProduction) {
master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
slave: ['memcache1.yohoops.org:12112', 'memcache2.yohoops.org:12112', 'memcache3.yohoops.org:12112'],
session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
timeout: 3000
timeout: 100,
retries:0,
reconnect:5000
},
useOneapm: true,
useCache: true,
... ... @@ -126,8 +129,9 @@ if (isProduction) {
master: ['127.0.0.1:12111'],
slave: ['127.0.0.1:12112'],
session: ['127.0.0.1:12111'],
timeout: 1000,
retries: 0
timeout: 100,
retries:0,
reconnect:5000
}
});
}
... ...
... ... @@ -59,7 +59,7 @@
"uuid": "^2.0.2",
"winston": "^2.2.0",
"winston-daily-rotate-file": "^1.1.4",
"yoho-node-lib": "0.0.40"
"yoho-node-lib": "0.0.42"
},
"devDependencies": {
"autoprefixer": "^6.3.6",
... ...