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() {
|
init() {
|
||||||
if (this.pool) return;
|
if (this.pool) return;
|
||||||
Cluster.launch({
|
Cluster.launch({
|
||||||
concurrency: Cluster.CONCURRENCY_CONTEXT,
|
concurrency: Cluster.CONCURRENCY_PAGE,
|
||||||
maxConcurrency: cpus().length,
|
maxConcurrency: cpus().length,
|
||||||
puppeteerOptions: {
|
puppeteerOptions: {
|
||||||
headless: 'new',
|
headless: 'new',
|
||||||
|
|
Loading…
Reference in New Issue