Authored by 陈峰

heapdum

... ... @@ -97,14 +97,14 @@ if (isProduction) {
Object.assign(module.exports, {
appName: 'm.yohoblk.com',
domains: {
api: 'http://api.yoho.yohoops.org/',
service: 'http://api.yoho.yohoops.org/',
singleApi: 'http://api.yoho.yohoops.org/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
singleApi: 'http://single.yoho.cn/'
},
memcache: {
master: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
slave: [],
session: ['memcache1.yohoops.org:12111', 'memcache2.yohoops.org:12111', 'memcache3.yohoops.org:12111'],
master: ['127.0.0.1:11211'],
slave: ['127.0.0.1:11211'],
session: ['127.0.0.1:11211'],
timeout: 100,
retries: 0
},
... ...
... ... @@ -5,6 +5,7 @@
*/
'use strict';
const heapdump = require('heapdump');
const config = require('./config/common');
// use one apm
... ...
... ... @@ -99,6 +99,7 @@
"file-loader": "^0.11.1",
"friendly-errors-webpack-plugin": "^1.6.1",
"handlebars-loader": "^1.5.0",
"heapdump": "^0.3.9",
"husky": "^0.11.6",
"jquery": "2.2.4",
"memory-fs": "^0.4.1",
... ...
... ... @@ -3,7 +3,7 @@
{
"name": "yohoblk-wap",
"script": "app.js",
"instances": "4",
"instances": "1",
"exec_mode": "cluster",
"merge_logs": true,
"log_date_format": "YYYY-MM-DD HH:mm:ss Z",
... ...
... ... @@ -4008,6 +4008,10 @@ header-case@^1.0.0:
no-case "^2.2.0"
upper-case "^1.1.3"
heapdump@^0.3.9:
version "0.3.9"
resolved "http://registry.npm.taobao.org/heapdump/download/heapdump-0.3.9.tgz#03c74eb0df5d67be0982e83429ba9c9d2b3b7f78"
hmac-drbg@^1.0.0:
version "1.0.1"
resolved "http://npm.yohops.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
... ...