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

Allow the write timeout option to be set #920

Merged

Conversation

HashNotAdam
Copy link
Contributor

@HashNotAdam HashNotAdam commented Dec 28, 2019

What kind of change is this?
Feature

Summary of changes
Fixes #834 Supports write_timeout option.
Write timeout is supported by HTTPI but not by Savon.

Other information
While not having the setting is limiting, it can also cause issues in
adapters. For example, when setting timeouts per operation in HTTP, any
timeouts not supplied will be set to 0.25 seconds which can lead to
unexpected surprises for users

@olleolleolle
Copy link
Contributor

olleolleolle commented Jul 13, 2020

@HashNotAdam This passes on all the MRI Ruby versions, which is grand.

JRuby issues are dealt with separately. We have currently set that build target to allow_failures in CI.

Thanks for the improvement.

Next steps: Can you rebase and add a CHANGELOG.md line?

Write timeout is supported by HTTPI but not by Savon.

While not having the setting is limiting, it can also cause issues in
adapters. For example, when setting timeouts per operation in HTTP, any
timeouts not supplied will be set to 0.25 seconds which can lead to
unexpected surprises for users
@HashNotAdam HashNotAdam force-pushed the feature/add_write_timeout_option branch from ffee149 to 8a59b39 Compare July 27, 2020 06:58
@HashNotAdam
Copy link
Contributor Author

@olleolleolle all good

Copy link
Contributor

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

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

Grand, looks good!

Thanks for the improvement!

@olleolleolle olleolleolle merged commit ce5390d into savonrb:master Jul 27, 2020
@berkos
Copy link

berkos commented Mar 17, 2021

👋 Would it be easy to release a new version with this new feature? 🙏
It looks like there is not a release including this in Ruby Gems https://rubygems.org/gems/savon/

@nickcampbell18
Copy link

👋 Would it be easy to release a new version with this new feature? 🙏
It looks like there is not a release including this in Ruby Gems https://rubygems.org/gems/savon/

Ditto here!

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

Successfully merging this pull request may close these issues.

Supports write_timeout option
4 participants