fix: hotfix puppeteer CONCURRENCY_PAGE
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Javi Gallego 2024-02-05 13:19:44 +01:00
parent 759ff45a27
commit 693a39d34a
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module.exports = {
init() {
if (this.pool) return;
Cluster.launch({
concurrency: Cluster.CONCURRENCY_CONTEXT,
concurrency: Cluster.CONCURRENCY_PAGE,
maxConcurrency: cpus().length,
puppeteerOptions: {
headless: 'new',