...
|
...
|
@@ -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',
|
...
|
...
|
@@ -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, {
|
...
|
...
|
|