refs #6053 cpus #1991

Merged
carlossa merged 6 commits from 6053-lessRAM into dev 2024-03-01 08:34:45 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 934278b018 - Show all commits

View File

@ -2,8 +2,10 @@
// https://jestjs.io/docs/en/configuration.html
/* eslint max-len: ["error", { "code": 150 }]*/
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 = {
name: 'front end',
displayName: {