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:
parent
66fb0955a4
commit
8aac74b3e8
1 changed files with 7 additions and 0 deletions
|
@ -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');
|
const moment = require('moment-timezone');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue