Skip to content

Commit

Permalink
Tests: use a concurrency of 1 on musl-based Linux
Browse files Browse the repository at this point in the history
Should reduce a bit of pressure on the stack
  • Loading branch information
lovell committed Apr 2, 2019
1 parent 687795c commit 90a0382
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/beforeEach.js
Expand Up @@ -5,8 +5,10 @@ const sharp = require('../../');

const usingCache = detectLibc.family !== detectLibc.MUSL;
const usingSimd = !process.env.G_DEBUG;
const concurrency = detectLibc.family === detectLibc.MUSL ? 1 : undefined;

beforeEach(function () {
sharp.cache(usingCache);
sharp.simd(usingSimd);
sharp.concurrency(concurrency);
});

0 comments on commit 90a0382

Please sign in to comment.