Authored by 姜枫

add instances num

... ... @@ -18,6 +18,7 @@ module.exports = {
assetUrl: '//localhost:5001',
domains: {
api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// liveApi: 'http://api.live.yoho.cn/',
// singleApi: 'http://single.yoho.cn/',
... ... @@ -37,7 +38,7 @@ module.exports = {
activity: '//activity.yohobuy.com',
index: '//m.yohobuy.com'
},
trace: false,
trace: true,
useCache: false,
memcache: {
master: ['192.168.102.168:12111'],
... ...
... ... @@ -3,7 +3,7 @@
{
"name": "yohobuywap-node",
"script": "app.js",
"instances": "4",
"instances": "max",
"exec_mode": "cluster",
"merge_logs": true,
"log_date_format": "YYYY-MM-DD HH:mm Z",
... ...