...
|
...
|
@@ -65,9 +65,9 @@ if (isProduction) { |
|
|
service: 'http://service.yoho.yohoops.org/'
|
|
|
},
|
|
|
memcache: {
|
|
|
master: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
|
|
|
slave: ['172.31.22.1:12112', '172.31.20.56:12112', '172.31.31.146:12112'],
|
|
|
session: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
|
|
|
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
|
|
|
},
|
|
|
useOneapm: true,
|
...
|
...
|
@@ -76,12 +76,6 @@ if (isProduction) { |
|
|
} else if (isTest) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com for test',
|
|
|
memcache: {
|
|
|
master: ['127.0.0.1:11212', '127.0.0.1:11213'],
|
|
|
slave: ['127.0.0.1:11212', '127.0.0.1:11213'],
|
|
|
session: ['127.0.0.1:11212', '127.0.0.1:11213'],
|
|
|
timeout: 3000
|
|
|
},
|
|
|
useOneapm: true,
|
|
|
useCache: true,
|
|
|
memcache: {
|
...
|
...
|
|