0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Removed code disabling bluebird debug (#21790)

closes https://github.com/TryGhost/Ghost/issues/14882 
ref
https://github.com/TryGhost/Ghost/issues/14882#issuecomment-2395498636

- As per the comment on the issue, the last reference to bluebird in
Ghost itself was removed over a year ago.
- We added this code blocking bluebird debug over 6 years ago.
- We do still use bluebird through dependencies so we could still have
memory issues BUT
- This change only affects development, and really should not be a
problem anymore.
- Leaning towards deleting the weird old edge-case code as it should not
be an issue, and finding out the hard way if I'm wrong :D
This commit is contained in:
Hannah Wolfe 2024-12-03 13:39:03 +00:00 committed by GitHub
parent 81ae18bcb6
commit 201b69e2cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,3 @@
/**
* 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 luxon = require('luxon');
const moment = require('moment-timezone');