refs #6053 maxCPUs 4
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2024-02-19 08:45:43 +01:00
parent fa32cf37cd
commit 934278b018
1 changed files with 3 additions and 1 deletions

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: {