mirror of
https://github.com/lovell/sharp.git
synced 2025-07-10 11:00:14 +02:00
Tests: use a concurrency of 1 on musl-based Linux
Should reduce a bit of pressure on the stack
This commit is contained in:
parent
687795c801
commit
90a0382317
@ -5,8 +5,10 @@ const sharp = require('../../');
|
|||||||
|
|
||||||
const usingCache = detectLibc.family !== detectLibc.MUSL;
|
const usingCache = detectLibc.family !== detectLibc.MUSL;
|
||||||
const usingSimd = !process.env.G_DEBUG;
|
const usingSimd = !process.env.G_DEBUG;
|
||||||
|
const concurrency = detectLibc.family === detectLibc.MUSL ? 1 : undefined;
|
||||||
|
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
sharp.cache(usingCache);
|
sharp.cache(usingCache);
|
||||||
sharp.simd(usingSimd);
|
sharp.simd(usingSimd);
|
||||||
|
sharp.concurrency(concurrency);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user