refs #6053 cpus #1991
|
@ -2,8 +2,10 @@
|
||||||
// https://jestjs.io/docs/en/configuration.html
|
// https://jestjs.io/docs/en/configuration.html
|
||||||
/* eslint max-len: ["error", { "code": 150 }]*/
|
/* eslint max-len: ["error", { "code": 150 }]*/
|
||||||
const cpus = require('os').cpus().length;
|
const cpus = require('os').cpus().length;
|
||||||
|
console.log('cpus: ', cpus);
|
||||||
|
const maxCpus = Math.floor(cpus / 4);
|
||||||
|
console.log('maxCpus: ', maxCpus);
|
||||||
|
|
||||||
const maxCpus = Math.floor(cpus / 5) - 1;
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'front end',
|
name: 'front end',
|
||||||
displayName: {
|
displayName: {
|
||||||
|
|
Loading…
Reference in New Issue