fix: hotfix puppeteer CONCURRENCY_PAGE
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
759ff45a27
commit
693a39d34a
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue