We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccbfb48 commit bde779fCopy full SHA for bde779f
index.js
@@ -4,6 +4,11 @@ const Piscina = require('piscina');
4
5
const piscina = new Piscina({
6
filename: path.resolve(__dirname, 'worker.js'),
7
+ resourceLimits: {
8
+ // 16GiB for each Worker (1 per run)
9
+ // This was required due to prettier benchmark
10
+ maxOldGenerationSizeMb: 16384,
11
+ },
12
maxQueue: 1,
13
});
14
0 commit comments