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

Added timeout when resizing an image #20087

Merged

Conversation

mike182uk
Copy link
Member

refs ENG-827

Added a timeout to the image resizing middleware to prevent crashes when an image is taking too long to resize. When the timeout is reached and the image has not been resized, the middleware will return the original image

@mike182uk mike182uk force-pushed the mike-eng-827-crash-on-resizing-animated-gif branch 3 times, most recently from 6aed17b to 58536a6 Compare April 29, 2024 10:38
refs [ENG-827](https://linear.app/tryghost/issue/ENG-827/🐛-crash-on-resizing-animated-gif)

Added a timeout to the image resizing middleware to prevent crashes when an
image is taking too long to resize. When the timeout is reached and the image
has not been resized, the middleware will return the original image
@mike182uk mike182uk force-pushed the mike-eng-827-crash-on-resizing-animated-gif branch from 58536a6 to 611b531 Compare April 29, 2024 11:06
@mike182uk mike182uk merged commit 4cd85ab into TryGhost:main Apr 30, 2024
22 checks passed
@mike182uk mike182uk deleted the mike-eng-827-crash-on-resizing-animated-gif branch April 30, 2024 07:39
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.

None yet

1 participant