Disable async traces for now (fix vatesfr/xo-web#608).

This commit is contained in:
Julien Fontanet 2015-12-21 19:20:37 +01:00
parent 852807b5d7
commit 8e7fe81806

View File

@ -1,7 +1,12 @@
Error.stackTraceLimit = 100
// Async stacks.
try { require('trace') } catch (_) {}
//
// Disabled for now as it cause a huge memory usage with
// fs.createReadStream().
// TODO: find a way to reenable.
//
// try { require('trace') } catch (_) {}
// Removes internal modules.
try {