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

Make getBrowsershot public #161

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Make getBrowsershot public #161

merged 1 commit into from
Jul 16, 2024

Conversation

dbpolito
Copy link
Contributor

Working with big PDFs on Lambda can lead to maximum payload errors, as lambda limits to 6MB or 8MB...

Making this method public we can easily call it with and then call saveToS3 from BrowserShotLambda.

Besides that we could also improve support to saveOnDisk in case it's s3 driver, use this method directly to avoid downloading the file to the machine and saving directly there.

@freekmurze freekmurze merged commit 0f8505c into spatie:main Jul 16, 2024
1 check passed
@freekmurze
Copy link
Member

Thanks!

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