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

fix: Requests hang on http errors #371

Merged
merged 2 commits into from
May 7, 2024
Merged

fix: Requests hang on http errors #371

merged 2 commits into from
May 7, 2024

Conversation

trygve-lie
Copy link
Contributor

Currently there is a situation where request from a version 5 layout to a erroring version 4 podlet ends up hanging. This removes the use of the client and just uses the request function.

This is not super optimal but works as a fix until we have landed a more thought through http client which we have started on here: https://github.com/podium-lib/http-client

@trygve-lie trygve-lie requested a review from digitalsadhu May 2, 2024 17:43
Copy link
Member

@digitalsadhu digitalsadhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine as a stop gap. What's the implications of using request over client? Less efficiency?

@trygve-lie trygve-lie merged commit 0db18a9 into master May 7, 2024
7 checks passed
@trygve-lie trygve-lie deleted the hang-on-error branch May 7, 2024 11:24
Copy link

github-actions bot commented May 7, 2024

🎉 This PR is included in version 5.0.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants