...
|
...
|
@@ -39,6 +39,17 @@ module.exports = { |
|
|
timeout: 1000,
|
|
|
retries: 0
|
|
|
},
|
|
|
interfaceShunt: {
|
|
|
useInterfaceShunt: false,
|
|
|
tencentServers: {
|
|
|
api: ['123.206.1.98', '123.206.2.80'],
|
|
|
service: ['123.206.1.98', '123.206.2.80']
|
|
|
},
|
|
|
awsServers: {
|
|
|
api: 'app-java-168863769.cn-north-1.elb.amazonaws.com.cn',
|
|
|
service: 'service-yoho-579825100.cn-north-1.elb.amazonaws.com.cn'
|
|
|
}
|
|
|
},
|
|
|
loggers: {
|
|
|
infoFile: {
|
|
|
name: 'info',
|
...
|
...
|
@@ -76,7 +87,7 @@ if (isProduction) { |
|
|
domains: {
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
service: 'http://service.yoho.yohoops.org/',
|
|
|
singleApi: 'http://192.168.102.31:8092/'
|
|
|
singleApi: 'http://api_single.yoho.cn/'
|
|
|
},
|
|
|
memcache: {
|
|
|
master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
|
...
|
...
|
@@ -86,7 +97,18 @@ if (isProduction) { |
|
|
retries: 0
|
|
|
},
|
|
|
useOneapm: true,
|
|
|
useCache: true
|
|
|
useCache: true,
|
|
|
interfaceShunt: {
|
|
|
useInterfaceShunt: true,
|
|
|
tencentServers: {
|
|
|
api: ['123.206.1.98', '123.206.2.80'],
|
|
|
service: ['123.206.1.98', '123.206.2.80']
|
|
|
},
|
|
|
awsServers: {
|
|
|
api: 'app-java-168863769.cn-north-1.elb.amazonaws.com.cn',
|
|
|
service: 'service-yoho-579825100.cn-north-1.elb.amazonaws.com.cn'
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
} else if (isTest) {
|
|
|
Object.assign(module.exports, {
|
...
|
...
|
|