Authored by 毕凯

Merge branch 'develop' of git.yoho.cn:fe/yohobuy-node into develop

... ... @@ -41,7 +41,7 @@ module.exports = {
udp: { // send by udp
level: 'debug', // logger level
host: '192.168.102.162', // influxdb host
port: '4444'// influxdb port
port: '4444' // influxdb port
},
console: {
level: 'debug',
... ... @@ -71,6 +71,13 @@ if (isProduction) {
Object.assign(module.exports, {
appName: 'www.yohobuy.com for test',
useOneapm: true,
useCache: true
useCache: true,
memcache: {
master: ['127.0.0.1:12111'],
slave: ['127.0.0.1:12112'],
session: ['127.0.0.1:12111'],
timeout: 1000,
retries: 0
}
});
}
}
\ No newline at end of file
... ...
{
"apps": [
{
"name": "yohobuy-node",
"script": "app.js",
"instances": "max",
"exec_mode": "cluster",
"env": {
"PORT": 6002
}
}
]
}
\ No newline at end of file
... ...