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

Prerendering Service - Addressing AWS Lambda Timeouts #4330

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Oct 10, 2024

Changes

With this PR, we're addressing an issue where the prerendering of some pages would fail. More specifically, during the prerendering, attempting to close the browser using await browser.close() function call would hang, thus causing the AWS Lambda function to time out, and, more importantly, the page not to be rendered at all.

Note

The "inspiration" for this fix came from this GH issue: Sparticuz/chromium#85

How Has This Been Tested?

Manually.

Documentation

Changelog.

@adrians5j adrians5j marked this pull request as ready for review October 10, 2024 12:38
@adrians5j adrians5j changed the base branch from dev to next October 10, 2024 12:41
@adrians5j adrians5j changed the title fix: kill browser process Prerendering Service - Addressing AWS Lambda Timeouts Oct 10, 2024
@adrians5j adrians5j added this to the 5.41.0 milestone Oct 10, 2024
@adrians5j adrians5j merged commit c0d893e into next Oct 10, 2024
97 checks passed
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.

2 participants