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

Add Guzzle Timeout To Prerender Middleware #39

Merged

Conversation

kellerjmrtn
Copy link
Contributor

Implementation for #38

Since the constructor was already updating guzzle config for allow_redirects, I decided to use the same idea for timeout. Potentially a breaking change since a new Guzzle client is created every time now, although I doubt that's too significant? I've also maintained throwing exceptions in debug mode for both RequestException and the new ConnectException

Ran composer format which added a few extra small whitespace changes. Let me know if the additional test and readme changes are enough

Also adds new `prerender.timeout` config option. Defaults to no timeout
@kellerjmrtn
Copy link
Contributor Author

@StanBarrows bump, if you have time for this

@StanBarrows StanBarrows merged commit 44809f1 into codebar-ag:main Jun 21, 2024
9 checks passed
@StanBarrows
Copy link
Contributor

@kellerjmrtn V11.1 is published thank you!

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