Created
January 4, 2020 09:36
-
-
Save asamountain/e18a78265227eca3d67cb8d79422dc80 to your computer and use it in GitHub Desktop.
puppeteer-cluster for heroku deploy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const cluster = await Cluster.launch({ | |
| concurrency: Cluster.CONCURRENCY_CONTEXT, | |
| maxConcurrency: 3, | |
| puppeteerOptions: { | |
| headless: true, | |
| args: ['--no-sandbox'] | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment