Disable async traces for now (fix vatesfr/xo-web#608).
This commit is contained in:
parent
852807b5d7
commit
8e7fe81806
@ -1,7 +1,12 @@
|
|||||||
Error.stackTraceLimit = 100
|
Error.stackTraceLimit = 100
|
||||||
|
|
||||||
// Async stacks.
|
// 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.
|
// Removes internal modules.
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user