...
|
...
|
@@ -28,7 +28,6 @@ module.exports = { |
|
|
activity: '//activity.yohobuy.com',
|
|
|
index: '//m.yohobuy.com'
|
|
|
},
|
|
|
useOneapm: false,
|
|
|
useCache: false,
|
|
|
memcache: {
|
|
|
master: ['192.168.102.205:12111'],
|
...
|
...
|
@@ -79,16 +78,15 @@ if (isProduction) { |
|
|
domains: {
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
service: 'http://service.yoho.yohoops.org/',
|
|
|
liveApi: 'http://preapi.live.yoho.cn/' // 'http://api.live.yoho.cn/'
|
|
|
liveApi: 'http://api.live.yoho.cn/'
|
|
|
},
|
|
|
memcache: {
|
|
|
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: 1000,
|
|
|
timeout: 100,
|
|
|
retries: 0
|
|
|
},
|
|
|
useOneapm: true,
|
|
|
useCache: true,
|
|
|
interfaceShunt: {
|
|
|
open: false,
|
...
|
...
|
@@ -99,18 +97,17 @@ if (isProduction) { |
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com for test',
|
|
|
domains: {
|
|
|
api: 'http://api-test3.yohops.com:9999/',
|
|
|
service: 'http://service-test3.yohops.com:9999/',
|
|
|
liveApi: 'http://testapi.live.yohops.com:9999/'
|
|
|
api: process.end.TEST_API || 'http://api-test1.yohops.com:9999/',
|
|
|
service: process.end.TEST_SERVICE || 'http://service-test1.yohops.com:9999/',
|
|
|
liveApi: process.end.TEST_LIVE || 'http://testapi.live.yohops.com:9999/'
|
|
|
},
|
|
|
memcache: {
|
|
|
master: ['127.0.0.1:12111'],
|
|
|
slave: ['127.0.0.1:12112'],
|
|
|
session: ['127.0.0.1:12111'],
|
|
|
timeout: 1000,
|
|
|
timeout: 100,
|
|
|
retries: 0
|
|
|
},
|
|
|
useOneapm: true,
|
|
|
useCache: true
|
|
|
});
|
|
|
} |
...
|
...
|
|