0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Disabled bluebird debug logs

refs https://github.com/TryGhost/Ghost-CLI/issues/778

- enabling the debug logs will eat a huge amount of memory
- ensure we disable the debug logs before we require anything else
This commit is contained in:
kirrg001 2018-08-13 13:59:37 +02:00
parent 66fb0955a4
commit 8aac74b3e8

View file

@ -1,3 +1,10 @@
/**
* If we enable bluebird debug logs we see a huge memory usage.
* You can reproduce by removing this line and import a big database export into Ghost.
* `NODE_ENV=development node index.js`
*/
process.env.BLUEBIRD_DEBUG = 0;
const moment = require('moment-timezone');
/**