Introducing heapdump to allow collecting more data from the server
This commit is contained in:
parent
f3167964f4
commit
137c6428e8
@ -3,6 +3,13 @@
|
|||||||
globals module
|
globals module
|
||||||
*/
|
*/
|
||||||
var domain = ' http://localhost:3000/';
|
var domain = ' http://localhost:3000/';
|
||||||
|
|
||||||
|
// You can `kill -USR2` the node process and it will write out a heap dump.
|
||||||
|
// If your system doesn't support dumping, comment this out and install with
|
||||||
|
// `npm install --production`
|
||||||
|
// See: https://strongloop.github.io/strongloop.com/strongblog/how-to-heap-snapshots/
|
||||||
|
require('heapdump');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
// the address you want to bind to, :: means all ipv4 and ipv6 addresses
|
// the address you want to bind to, :: means all ipv4 and ipv6 addresses
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"flow-bin": "^0.59.0",
|
"flow-bin": "^0.59.0",
|
||||||
|
"heapdump": "^0.3.9",
|
||||||
"jshint": "~2.9.1",
|
"jshint": "~2.9.1",
|
||||||
"less": "2.7.1",
|
"less": "2.7.1",
|
||||||
"lesshint": "^4.5.0",
|
"lesshint": "^4.5.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user