Skip to content

Commit

Permalink
Disabled bluebird debug logs
Browse files Browse the repository at this point in the history
refs TryGhost/Ghost-CLI#778

- enabling the debug logs will eat a huge amount of memory
- ensure we disable the debug logs before we require anything else
  • Loading branch information
kirrg001 committed Aug 13, 2018
1 parent 66fb095 commit 8aac74b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/server/overrides.js
Original file line number Diff line number Diff line change
@@ -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');

/**
Expand Down

0 comments on commit 8aac74b

Please sign in to comment.