Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set timeout for Puppeteer actions by PUPPETEER_TIMEOUT env #409

Merged
merged 5 commits into from
Jan 9, 2022

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jan 8, 2022

Allowed set timeout for Puppeteer by PUPPETEER_TIMEOUT env.

PUPPETEER_TIMEOUT=60000 marp --pdf large-markdown.md

By this setting, every actions by puppeteer-core (such as launching Chrome, page navigation, and PDF creation) will be timed out in 60 seconds. The default is 30s.

PUPPETEER_TIMEOUT=0 means every actions will never be timed out.

This option is maken assuming that it is used for debug a trouble while converting like marp-team/marp#225, so this setting cannot modify by CLI option and configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant