This commit is contained in:
parent
87962a813d
commit
1fe665357f
|
@ -2,9 +2,7 @@
|
||||||
// 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 * 0.45);
|
||||||
const maxCpus = Math.floor(cpus / 4);
|
|
||||||
console.log('maxCpus: ', maxCpus);
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'front end',
|
name: 'front end',
|
||||||
|
|
Loading…
Reference in New Issue